[Library|Trunk]

Dashboard:
	sidebar: add headerLink


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58844 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-06-04 18:30:45 +00:00
parent f4d72d8837
commit 90aec58af2
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,9 @@
<aside id="sidebar_main">
<div *ngIf= "showHeader" class="sidebar_main_header uk-text-center">
<a *ngIf= "showHeader" class="sidebar_main_header uk-text-center" [href]="headerUrl"
[class.uk-disabled]="(!headerUrl)">
<img *ngIf="headerLogoUrl" class="logo " [src]="headerLogoUrl">
<div *ngIf="!headerLogoUrl" class="portalLogo logo" ></div>
</div>
</a>
<div class="menu_section uk-margin-top">
<ul>
<li *ngIf="headerName"><a

View File

@ -11,6 +11,7 @@ export class SideBarComponent implements OnInit {
@Input() headerName: string;
@Input() headerDashboard: string;
@Input() headerLogoUrl: string;
@Input() headerUrl: string;
@Input() showHeader: boolean = true;
@Input() activeItem: string = '';
@Input() activeSubItem: string = '';