Change logo of monitor with stakeholder's both in dashboard and admin. Remove logo and Admin dashboard title from Mangege Profile and Manage profiles
This commit is contained in:
parent
82b9a57b22
commit
cf7094bcf0
|
@ -332,48 +332,29 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
if (!this.hasAdminMenu && this.isFrontPage) {
|
||||
this.menuHeader = {
|
||||
route: null,
|
||||
url: "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu',
|
||||
title: "Monitor",
|
||||
logoUrl: 'assets/common-assets/logo-services/monitor/small-inverted.svg',
|
||||
logoSmallUrl: "assets/common-assets/logo-services/monitor/small.svg",
|
||||
route: './' + this.stakeholder.alias,
|
||||
url: null,
|
||||
title: this.stakeholder.name,
|
||||
logoUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoSmallUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoInfo: '<div class="uk-margin-left uk-width-medium"><div class="uk-margin-remove uk-text-background uk-text-bold uk-text-small">Monitor</div>' +
|
||||
'<div class="uk-h6 uk-text-truncate uk-margin-remove">Dashboard</div></div>',
|
||||
position: 'center',
|
||||
badge: true,
|
||||
darkBg: true,
|
||||
menuPosition: "center",
|
||||
replaceHeader: {
|
||||
route: './' + this.stakeholder.alias,
|
||||
url: null,
|
||||
title: this.stakeholder.name,
|
||||
logoUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoSmallUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoInfo: '<div class="uk-margin-left uk-width-medium"><div class="uk-margin-remove uk-text-background uk-text-bold uk-text-small">Monitor</div>' +
|
||||
'<div class="uk-h6 uk-text-truncate uk-margin-remove">Dashboard</div></div>',
|
||||
position: 'center',
|
||||
badge: true,
|
||||
menuPosition: "center"
|
||||
}
|
||||
menuPosition: "center"
|
||||
};
|
||||
} else {
|
||||
this.menuHeader = {
|
||||
route: null,
|
||||
url: "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu',
|
||||
title: "Monitor",
|
||||
logoUrl: 'assets/common-assets/logo-services/monitor/small.svg',
|
||||
logoSmallUrl: "assets/common-assets/logo-services/monitor/small.svg",
|
||||
route: './' + this.stakeholder.alias,
|
||||
url: null,
|
||||
title: this.stakeholder.name,
|
||||
logoUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoSmallUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoInfo: '<div class="uk-margin-left uk-width-medium"><div class="uk-margin-remove uk-text-background uk-text-bold uk-text-small">Monitor Admin</div>' +
|
||||
'<div class="uk-h6 uk-text-truncate uk-margin-remove">Dashboard</div></div>',
|
||||
position: 'center',
|
||||
badge: true,
|
||||
menuPosition: "center",
|
||||
replaceHeader: {
|
||||
route: './' + this.stakeholder.alias,
|
||||
url: null,
|
||||
title: this.stakeholder.name,
|
||||
logoUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
logoSmallUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||
position: 'center',
|
||||
badge: true,
|
||||
menuPosition: "center"
|
||||
}
|
||||
menuPosition: "center"
|
||||
};
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
<div page-content>
|
||||
<div header *ngIf="stakeholder">
|
||||
<div class="uk-flex uk-flex-middle uk-margin-medium-top info">
|
||||
<img [src]="stakeholder | logoUrl" class="uk-margin-right uk-blend-multiply">
|
||||
<div>
|
||||
<div class="uk-text-background uk-text-bold uk-text-small">Admin Dashboard - Manage Profile</div>
|
||||
<div class="uk-text-background uk-text-bold uk-text-small">Manage Profile</div>
|
||||
<h1 class="uk-h6 uk-margin-remove">{{stakeholder.name}}<span *ngIf="editStakeholderComponent && editStakeholderComponent.dirty && !loading" class="uk-text-large"> (unsaved changes)</span></h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
<div page-content>
|
||||
<div header>
|
||||
<div class="uk-flex uk-flex-middle uk-margin-medium-top info">
|
||||
<img src="assets/common-assets/placeholder.png" class="uk-margin-right">
|
||||
<div>
|
||||
<div class="uk-text-background uk-text-bold uk-text-small">Admin Dashboard - Manage profiles</div>
|
||||
<div class="uk-text-background uk-text-bold uk-text-small">Manage profiles</div>
|
||||
<h1 class="uk-h6 uk-margin-remove">Profile Templates & Profiles</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -39,12 +39,8 @@
|
|||
</ng-template>
|
||||
<div page-content>
|
||||
<div header>
|
||||
<div *ngIf="stakeholder" class="uk-flex uk-flex-middle uk-margin-medium-top info">
|
||||
<img [src]="stakeholder | logoUrl" class="uk-margin-right uk-blend-multiply">
|
||||
<div>
|
||||
<div class="uk-text-background uk-text-bold uk-text-small">Monitor Dashboard</div>
|
||||
<h1 class="uk-h6 uk-margin-remove">{{stakeholder.name}}</h1>
|
||||
</div>
|
||||
<div *ngIf="stakeholder" class="uk-hidden">
|
||||
<h1 class="uk-h6 uk-margin-remove">{{stakeholder.name}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-margin-medium-top" actions>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2492f737b87a5c78a5e09a54f94a30eec2209c2e
|
||||
Subproject commit 37545606a09b21341776361b3d0e13e7be503608
|
|
@ -1 +1 @@
|
|||
Subproject commit fdcbc17b88deb76cee2cd4432282468be9f56b7e
|
||||
Subproject commit 3ce4f7183dae624731ff54fc181527296f6f3d49
|
Loading…
Reference in New Issue