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:
Konstantinos Triantafyllou 2022-12-12 16:18:55 +02:00
parent 82b9a57b22
commit cf7094bcf0
6 changed files with 22 additions and 47 deletions

View File

@ -332,16 +332,6 @@ 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",
position: 'center',
badge: true,
darkBg: true,
menuPosition: "center",
replaceHeader: {
route: './' + this.stakeholder.alias,
url: null,
title: this.stakeholder.name,
@ -352,28 +342,19 @@ export class AppComponent implements OnInit, OnDestroy {
position: 'center',
badge: true,
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",
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),
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"
}
};
}
} else {

View File

@ -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>

View File

@ -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>

View File

@ -39,14 +39,10 @@
</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>
<div *ngIf="stakeholder" class="uk-hidden">
<h1 class="uk-h6 uk-margin-remove">{{stakeholder.name}}</h1>
</div>
</div>
</div>
<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">
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory>

@ -1 +1 @@
Subproject commit 2492f737b87a5c78a5e09a54f94a30eec2209c2e
Subproject commit 37545606a09b21341776361b3d0e13e7be503608

@ -1 +1 @@
Subproject commit fdcbc17b88deb76cee2cd4432282468be9f56b7e
Subproject commit 3ce4f7183dae624731ff54fc181527296f6f3d49