Change back icon for manage profiles

This commit is contained in:
Konstantinos Triantafyllou 2022-08-04 17:59:31 +03:00
parent 170a93d108
commit 3e1100e0ad
2 changed files with 6 additions and 9 deletions

View File

@ -250,10 +250,7 @@ export class AppComponent implements OnInit, OnDestroy {
this.adminMenuItems.push(new MenuItem("admin-tools", "Pages & Entities", "", "/admin/" + this.stakeholder.alias + "/admin-tools/pages", false, [], [], {}, {name: 'description'}, null, null, "/admin/" + this.stakeholder.alias + "/admin-tools")); this.adminMenuItems.push(new MenuItem("admin-tools", "Pages & Entities", "", "/admin/" + this.stakeholder.alias + "/admin-tools/pages", false, [], [], {}, {name: 'description'}, null, null, "/admin/" + this.stakeholder.alias + "/admin-tools"));
} }
} }
this.specialSideBarMenuItem = new MenuItem("back", "Manage profiles", "", "/admin", false, [], null, {}, { this.specialSideBarMenuItem = new MenuItem("back", "Manage profiles", "", "/admin", false, [], null, {}, {name: 'west'});
name: 'search',
class: 'uk-text-secondary'
});
this.sideBarItems = items; this.sideBarItems = items;
this.hasSidebar = this.hasSidebar && this.sideBarItems.length > 0; this.hasSidebar = this.hasSidebar && this.sideBarItems.length > 0;
} }
@ -373,8 +370,8 @@ export class AppComponent implements OnInit, OnDestroy {
menuPosition: "center" menuPosition: "center"
}; };
this.menuItems.push({ this.menuItems.push({
rootItem: new MenuItem("about", "About", rootItem: new MenuItem("stakeholders", "Browse " + this.stakeholderEntities.STAKEHOLDERS,
"https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/learn-how', "", false, [], null, {}, null, null, null, null, "_self"), "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/browse', "", false, [], null, {}, null, null, null, null, "_self"),
items: [] items: []
}); });
if (this.properties.environment === 'development') { if (this.properties.environment === 'development') {
@ -382,8 +379,8 @@ export class AppComponent implements OnInit, OnDestroy {
this.resourcesService.setResourcesDeprecated(this.menuItems, '', "https://" + (this.properties.environment === 'beta' ? 'beta.' : '') + 'monitor.openaire.eu'); this.resourcesService.setResourcesDeprecated(this.menuItems, '', "https://" + (this.properties.environment === 'beta' ? 'beta.' : '') + 'monitor.openaire.eu');
} }
this.menuItems.push({ this.menuItems.push({
rootItem: new MenuItem("stakeholders", "Browse " + this.stakeholderEntities.STAKEHOLDERS, rootItem: new MenuItem("about", "About",
"https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/browse', "", false, [], null, {}, null, null, null, null, "_self"), "https://" + (this.properties.environment == 'beta' ? 'beta.' : '') + 'monitor.openaire.eu/about/learn-how', "", false, [], null, {}, null, null, null, null, "_self"),
items: [] items: []
}); });
if (this.hasAdminMenu) { if (this.hasAdminMenu) {

@ -1 +1 @@
Subproject commit a33226250b979be5b004e18ac9c49c67f22a7400 Subproject commit 3f7078db16daa34bc8e34a04d760e1bb0b199d97