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,16 +332,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
if (!this.hasAdminMenu && this.isFrontPage) {
|
if (!this.hasAdminMenu && this.isFrontPage) {
|
||||||
this.menuHeader = {
|
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",
|
|
||||||
position: 'center',
|
|
||||||
badge: true,
|
|
||||||
darkBg: true,
|
|
||||||
menuPosition: "center",
|
|
||||||
replaceHeader: {
|
|
||||||
route: './' + this.stakeholder.alias,
|
route: './' + this.stakeholder.alias,
|
||||||
url: null,
|
url: null,
|
||||||
title: this.stakeholder.name,
|
title: this.stakeholder.name,
|
||||||
|
@ -352,28 +342,19 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
position: 'center',
|
position: 'center',
|
||||||
badge: true,
|
badge: true,
|
||||||
menuPosition: "center"
|
menuPosition: "center"
|
||||||
}
|
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
this.menuHeader = {
|
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",
|
|
||||||
position: 'center',
|
|
||||||
badge: true,
|
|
||||||
menuPosition: "center",
|
|
||||||
replaceHeader: {
|
|
||||||
route: './' + this.stakeholder.alias,
|
route: './' + this.stakeholder.alias,
|
||||||
url: null,
|
url: null,
|
||||||
title: this.stakeholder.name,
|
title: this.stakeholder.name,
|
||||||
logoUrl: StringUtils.getLogoUrl(this.stakeholder),
|
logoUrl: StringUtils.getLogoUrl(this.stakeholder),
|
||||||
logoSmallUrl: 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',
|
position: 'center',
|
||||||
badge: true,
|
badge: true,
|
||||||
menuPosition: "center"
|
menuPosition: "center"
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
<div page-content>
|
<div page-content>
|
||||||
<div header *ngIf="stakeholder">
|
<div header *ngIf="stakeholder">
|
||||||
<div class="uk-flex uk-flex-middle uk-margin-medium-top info">
|
<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>
|
||||||
<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>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
<div page-content>
|
<div page-content>
|
||||||
<div header>
|
<div header>
|
||||||
<div class="uk-flex uk-flex-middle uk-margin-medium-top info">
|
<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>
|
||||||
<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>
|
<h1 class="uk-h6 uk-margin-remove">Profile Templates & Profiles</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -39,14 +39,10 @@
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<div page-content>
|
<div page-content>
|
||||||
<div header>
|
<div header>
|
||||||
<div *ngIf="stakeholder" class="uk-flex uk-flex-middle uk-margin-medium-top info">
|
<div *ngIf="stakeholder" class="uk-hidden">
|
||||||
<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>
|
<h1 class="uk-h6 uk-margin-remove">{{stakeholder.name}}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-margin-medium-top" actions>
|
<div *ngIf="activeCategory && countSubCategoriesToShow(activeCategory) > 1" class="uk-margin-medium-top" actions>
|
||||||
<ul *ngIf="stakeholder && status === errorCodes.DONE && activeTopic" class="uk-tab uk-margin-remove-bottom">
|
<ul *ngIf="stakeholder && status === errorCodes.DONE && activeTopic" class="uk-tab uk-margin-remove-bottom">
|
||||||
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory>
|
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2492f737b87a5c78a5e09a54f94a30eec2209c2e
|
Subproject commit 37545606a09b21341776361b3d0e13e7be503608
|
|
@ -1 +1 @@
|
||||||
Subproject commit fdcbc17b88deb76cee2cd4432282468be9f56b7e
|
Subproject commit 3ce4f7183dae624731ff54fc181527296f6f3d49
|
Loading…
Reference in New Issue