Add resources menu item if environment is not production. Add placeholder in manage stakeholders

This commit is contained in:
Konstantinos Triantafyllou 2022-08-02 23:15:38 +03:00
parent 6a952b2615
commit 17b7d4296a
9 changed files with 10 additions and 12 deletions

View File

@ -14,8 +14,7 @@
<router-outlet></router-outlet>
</main>
</div>
<bottom id="bottom" *ngIf="isFrontPage" [darkBackground]="false"
[centered]="true" [properties]="properties" [showMenuItems]="true"></bottom>
<bottom id="bottom" *ngIf="isFrontPage" [centered]="true" [properties]="properties" [showMenuItems]="true"></bottom>
<role-verification *ngIf="stakeholder" [id]="stakeholder.alias" [name]="stakeholder.name" [type]="stakeholder.type"></role-verification>
<notification-sidebar *ngIf="user && notificationGroupsInitialized"
[user]="user" [availableGroups]="notificationGroups" service="monitor"></notification-sidebar>

View File

@ -285,7 +285,7 @@ export class AppComponent implements OnInit, OnDestroy {
null, null, null, null),
items: []
});
if(this.properties.environment === 'development') {
if(this.properties.environment !== 'production') {
this.resourcesService.setResourcesDeprecated(this.menuItems, "/" + this.stakeholder.alias);
} else {
this.menuItems.push({

View File

@ -1,10 +1,9 @@
<div page-content>
<div header>
<div class="uk-flex uk-flex-middle uk-margin-top info">
<img src="assets/common-assets/placeholder.png" class="uk-margin-right">
<div>
<div class="uk-margin-remove uk-text-background uk-text-bold uk-h6">
Admin Dashboard - Manage profiles
</div>
<div class="uk-margin-remove uk-text-background uk-text-bold uk-h6">Admin Dashboard - Manage profiles</div>
<h1 class="uk-h4 uk-margin-remove">Profile Templates & Profiles</h1>
</div>
</div>

View File

@ -7,7 +7,7 @@
<span class="uk-label uk-label-primary uk-flex uk-flex-middle">
<span
class="uk-margin-small-right uk-width-expand uk-text-truncate">{{periodFilter.selectedFromAndToValues}}</span>
<button [class.uk-disabled]="loading" (click)="clearPeriodFilter();" class="uk-close uk-icon"
<button [class.uk-disabled]="loading" (click)="clearPeriodFilter()" class="uk-close uk-icon"
[disabled]="loading">
<icon name="close" flex="true" ratio="0.7"></icon>
</button>

@ -1 +1 @@
Subproject commit a42140bb1cb45547beb49cb74da827ebf93b1bba
Subproject commit 35c3728d7b04d928002b99fc1359723e451b16e5

@ -1 +1 @@
Subproject commit 1ec6023fa2378614ad032c1589a10a144975357e
Subproject commit c645362896b10ae00563f38337aa0011c640cb20

View File

@ -3,8 +3,8 @@
@import (multiple) "~src/assets/openaire-theme/less/_import";
@import (multiple) "~src/assets/common-assets/less/general";
@import (multiple) "~src/assets/common-assets/less/user";
@import (multiple) "~src/assets/common-assets/less/landing";
@import (multiple) "~src/assets/common-assets/less/dashboard";
@import (multiple) "~src/assets/common-assets/less/landing";
@monitor-dashboard-background: #F3F3F3;

@ -1 +1 @@
Subproject commit 0e650a002b6f77957fcbe06b3609c8985c96dd2a
Subproject commit ff0dadc5dd278b9b6fcc86502541c1f9dc39945c

View File

@ -5,6 +5,6 @@
@import "~src/assets/common-assets/less/general";
@import "~src/assets/common-assets/less/user";
@import "~src/assets/common-assets/less/dashboard";
@import "~src/assets/common-assets/less/landing";
@import "~src/assets/common-assets/less/ckeditor";
@import "~src/assets/monitor-dashboard-custom";
@import "assets/print.css";