2018-03-16 09:56:42 +01:00
|
|
|
<div *ngIf="showMenu">
|
2022-03-03 16:44:59 +01:00
|
|
|
<div class="uk-hidden@m">
|
|
|
|
<div [ngClass]="portal + '-menu'">
|
|
|
|
<nav class="uk-navbar-container uk-navbar" uk-navbar="">
|
2022-03-09 22:38:05 +01:00
|
|
|
<div
|
|
|
|
*ngIf="(properties.environment =='beta' || properties.environment =='development') && showLogo && header.badge">
|
|
|
|
<img class="uk-position-top-left"
|
|
|
|
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
2022-03-03 17:19:06 +01:00
|
|
|
alt="BETA" style="height: 60px; width: 60px;">
|
|
|
|
</div>
|
2022-03-03 16:44:59 +01:00
|
|
|
<div *ngIf="!onlyTop || userMenu" class="uk-navbar-left">
|
|
|
|
<a *ngIf="!offCanvasFlip" class="uk-navbar-toggle" href="#tm-mobile" uk-toggle="" style="z-index:1000;">
|
|
|
|
<div uk-navbar-toggle-icon="" class="uk-navbar-toggle-icon uk-icon custom-navbar-toggle-icon"></div>
|
|
|
|
<span class="visually-hidden">toggle menu</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="uk-navbar-center">
|
|
|
|
<ng-container *ngTemplateOutlet="header_template; context: {mobile: true}"></ng-container>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="!onlyTop || userMenu" class="uk-navbar-right">
|
|
|
|
<a *ngIf="offCanvasFlip" class="uk-navbar-toggle" href="#tm-mobile" uk-toggle="" style="z-index:1000;">
|
|
|
|
<div uk-navbar-toggle-icon="" class="uk-navbar-toggle-icon uk-icon custom-navbar-toggle-icon"></div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
<div #canvas id="tm-mobile" [attr.uk-offcanvas]="(offCanvasFlip?'flip:'+(offCanvasFlip + ';'):'') + 'overlay: true'"
|
|
|
|
class="uk-offcanvas uk-hidden@m"
|
|
|
|
style="z-index:9999;">
|
|
|
|
<div class="uk-offcanvas-bar">
|
|
|
|
<button class="uk-offcanvas-close uk-close uk-icon" type="button" uk-close=""></button>
|
|
|
|
<div class="uk-padding">
|
|
|
|
<ul class="uk-nav uk-nav-default">
|
|
|
|
<ng-container *ngIf="!onlyTop">
|
|
|
|
<ng-container *ngFor="let menu of menuItems">
|
|
|
|
<li *ngIf="showHomeMenuItem && currentRoute.route !== '/'">
|
2022-03-04 16:31:09 +01:00
|
|
|
<a routerLink="/" (click)="closeCanvas(canvas)">Home</a>
|
2022-03-03 16:44:59 +01:00
|
|
|
</li>
|
|
|
|
<li [class.uk-active]="isTheActiveMenu(menu)"
|
|
|
|
*ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
|
2022-03-04 16:31:09 +01:00
|
|
|
<!--a routerLink="{{menu.rootItem.route}}" [queryParams]=menu.rootItem.params class="uk-offcanvas-close custom-offcanvas-close">{{menu.rootItem.title}}</a-->
|
2022-03-03 16:44:59 +01:00
|
|
|
<a *ngIf="menu.rootItem.route.length > 0 && (isEnabled([menu.rootItem.route], showPage) || !menu.rootItem.routeRequired)"
|
2022-03-04 16:31:09 +01:00
|
|
|
routerLink="{{menu.rootItem.route}}" (click)="closeCanvas(canvas)"
|
2022-03-09 22:38:05 +01:00
|
|
|
[queryParams]="menu.rootItem.params"
|
|
|
|
[fragment]="menu.rootItem.fragment">{{menu.rootItem.title}}</a>
|
2022-03-03 16:44:59 +01:00
|
|
|
<a *ngIf="menu.rootItem.route.length == 0 && menu.rootItem.url.length > 0"
|
2022-06-02 16:27:45 +02:00
|
|
|
href="{{menu.rootItem.url}}" (click)="closeCanvas(canvas)" [class.custom-external]="menu.rootItem.url.includes('http')"
|
2022-03-03 16:44:59 +01:00
|
|
|
target="{{menu.rootItem.url.includes('http') ? '_blank' : '_self'}}">{{menu.rootItem.title}}</a>
|
|
|
|
<a *ngIf="(menu.rootItem.route.length == 0 && menu.rootItem.url.length == 0) ||
|
2022-02-28 13:38:26 +01:00
|
|
|
(menu.rootItem.route.length >0 && menu.rootItem.routeRequired && !isEnabled([menu.rootItem.route], showPage)
|
2022-03-09 22:38:05 +01:00
|
|
|
&& isAtleastOneEnabled(menu.rootItem.routeRequired, showPage))"
|
|
|
|
(click)="closeCanvas(canvas)">{{menu.rootItem.title}}</a>
|
2022-03-03 16:44:59 +01:00
|
|
|
<ul class="uk-nav-sub">
|
|
|
|
<ng-container *ngFor="let submenu of menu.items">
|
2022-03-28 10:40:21 +02:00
|
|
|
<li [class.uk-active]="isTheActiveMenu(submenu)"
|
2022-03-03 16:44:59 +01:00
|
|
|
*ngIf="isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage) && (submenu.route.length > 0 || submenu.url.length > 0)"
|
|
|
|
[class.uk-parent]="submenu.items && submenu.items.length > 0">
|
2022-03-04 16:31:09 +01:00
|
|
|
<a *ngIf="submenu.route.length > 0" (click)="closeCanvas(canvas)"
|
2022-03-03 16:44:59 +01:00
|
|
|
routerLink="{{submenu.route}}" [queryParams]=submenu.params
|
|
|
|
[fragment]="submenu.fragment">{{submenu.title}}</a>
|
2022-03-04 16:31:09 +01:00
|
|
|
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0"
|
2022-06-02 16:27:45 +02:00
|
|
|
href="{{submenu.url}}" (click)="closeCanvas(canvas)" [class.custom-external]="submenu.url.includes('http')"
|
2022-03-03 16:44:59 +01:00
|
|
|
target="{{submenu.url.includes('http') ? '_blank' : '_self'}}">{{submenu.title}}</a>
|
|
|
|
<ul *ngIf="submenu.items && submenu.items.length > 0" class="uk-nav-sub">
|
|
|
|
<ng-container *ngFor="let subsubmenu of submenu.items">
|
|
|
|
<li>
|
2022-03-04 16:31:09 +01:00
|
|
|
<a *ngIf="subsubmenu.route.length > 0"
|
2022-03-03 16:44:59 +01:00
|
|
|
routerLink="{{subsubmenu.route}}" [queryParams]="subsubmenu.params"
|
|
|
|
[fragment]="subsubmenu.fragment" (click)="closeCanvas(canvas)">{{subsubmenu.title}}</a>
|
|
|
|
<a *ngIf="subsubmenu.route.length == 0 && subsubmenu.url.length > 0"
|
2022-06-02 16:27:45 +02:00
|
|
|
href="{{subsubmenu.url}}" (click)="closeCanvas(canvas)" class="custom-external"
|
2022-03-03 16:44:59 +01:00
|
|
|
target="_blank">{{subsubmenu.title}}</a>
|
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)"
|
|
|
|
class="uk-nav-header">{{submenu.title}}</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ng-container>
|
2022-02-28 13:38:26 +01:00
|
|
|
</ng-container>
|
2022-03-03 16:44:59 +01:00
|
|
|
</ul>
|
|
|
|
<ng-container *ngIf="userMenu">
|
|
|
|
<user-mini [user]="user" mobileView=true (closeCanvasEmitter)="closeCanvas(canvas)"
|
|
|
|
[userMenuItems]=userMenuItems [logInUrl]=properties.loginUrl
|
|
|
|
[logOutUrl]=properties.logoutUrl [cookieDomain]=properties.cookieDomain></user-mini>
|
2022-03-03 17:19:06 +01:00
|
|
|
<ng-content select="[extra-s]"></ng-content>
|
2022-02-28 13:38:26 +01:00
|
|
|
</ng-container>
|
2022-03-03 16:44:59 +01:00
|
|
|
</div>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
2020-06-29 15:15:52 +02:00
|
|
|
</div>
|
2021-04-07 16:54:23 +02:00
|
|
|
</div>
|
2022-03-14 17:35:00 +01:00
|
|
|
<div id="main-menu" class="uk-visible@m">
|
2022-04-07 17:17:52 +02:00
|
|
|
<div id="sticky-menu" class="uk-navbar-container" [ngClass]="portal + '-menu'" uk-sticky media="@m">
|
2022-03-09 22:38:05 +01:00
|
|
|
<div
|
|
|
|
*ngIf="(properties.environment =='beta' || properties.environment =='development') && showLogo && header.badge">
|
|
|
|
<img class="uk-position-top-left"
|
|
|
|
[src]="'assets/common-assets/'+(properties.environment =='beta'?'beta_flag.svg':'prototype_flag.svg')"
|
2022-03-14 17:35:00 +01:00
|
|
|
alt="BETA" style="height: 65px; width: 65px; z-index: 1000">
|
2020-06-29 15:15:52 +02:00
|
|
|
</div>
|
2022-03-14 17:35:00 +01:00
|
|
|
<div class="uk-container uk-container-expand">
|
|
|
|
<nav class="uk-navbar" uk-navbar>
|
|
|
|
<ng-container *ngIf="!onlyTop">
|
|
|
|
<div class="uk-navbar-left">
|
|
|
|
<ng-container *ngIf="showLogo && isHeaderLeft">
|
|
|
|
<ng-container *ngTemplateOutlet="header_template; context: {mobile: false}"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
<div class="uk-navbar-center">
|
|
|
|
<ng-container *ngIf="showLogo && !isHeaderLeft">
|
|
|
|
<ng-container *ngTemplateOutlet="header_template; context: {mobile: false}"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="!header.menuPosition || header.menuPosition === 'center'">
|
|
|
|
<ng-container *ngTemplateOutlet="mainMenu"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
<div class="uk-navbar-right">
|
|
|
|
<ng-container *ngIf="header.menuPosition === 'right'">
|
|
|
|
<ng-container *ngTemplateOutlet="mainMenu"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<user-mini *ngIf="userMenu" [user]="user" [dark]="dark"
|
|
|
|
[userMenuItems]=userMenuItems [logInUrl]=properties.loginUrl [logOutUrl]=properties.logoutUrl
|
|
|
|
[cookieDomain]=properties.cookieDomain></user-mini>
|
|
|
|
<ng-content select="[extra-m]"></ng-content>
|
|
|
|
</div>
|
|
|
|
<ng-template #mainMenu>
|
|
|
|
<ul class="uk-navbar-nav" [class.uk-margin-right]="!userMenu">
|
|
|
|
<li class="uk-parent" *ngIf="showHomeMenuItem && currentRoute.route !== '/'">
|
|
|
|
<a routerLink="/">Home</a>
|
|
|
|
</li>
|
|
|
|
<ng-container *ngFor="let menu of menuItems">
|
|
|
|
<li class="uk-parent" [class.uk-active]="isTheActiveMenu(menu)"
|
|
|
|
*ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
|
|
|
|
<!--a routerLink="{{menu.rootItem.route}}" [queryParams]=menu.rootItem.params class="" aria-expanded="false">{{menu.rootItem.title}}</a-->
|
|
|
|
<a *ngIf="menu.rootItem.route.length > 0 && (isEnabled([menu.rootItem.route], showPage) || !menu.rootItem.routeRequired )"
|
|
|
|
routerLink="{{menu.rootItem.route}}"
|
|
|
|
[queryParams]="menu.rootItem.params"
|
|
|
|
[fragment]="menu.rootItem.fragment"> {{menu.rootItem.title}}</a>
|
|
|
|
<a *ngIf="menu.rootItem.route.length == 0 && menu.rootItem.url.length > 0"
|
|
|
|
href="{{menu.rootItem.url}}" target="{{menu.rootItem.url.includes('http') ? '_blank' : '_self'}}"
|
2022-06-02 16:27:45 +02:00
|
|
|
[class.custom-external]="menu.rootItem.url.includes('http')">{{menu.rootItem.title}}</a>
|
2022-03-14 17:35:00 +01:00
|
|
|
<a *ngIf="(menu.rootItem.route.length == 0 && menu.rootItem.url.length == 0) || ( menu.rootItem.route.length >0 && menu.rootItem.routeRequired && !isEnabled([menu.rootItem.route], showPage) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage))">{{menu.rootItem.title}}</a>
|
2022-04-15 23:49:35 +02:00
|
|
|
<div *ngIf="menu.items.length > 0" class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left">
|
2022-03-14 17:35:00 +01:00
|
|
|
<div class="uk-height-max-medium uk-overflow-auto">
|
|
|
|
<ul class="uk-nav uk-navbar-dropdown-nav">
|
|
|
|
<ng-container *ngFor="let submenu of menu.items">
|
|
|
|
<li *ngIf="isEnabled(submenu.entitiesRequired,showEntity) &&
|
|
|
|
isEnabled(submenu.routeRequired, showPage) && (submenu.route.length > 0 ||
|
2022-03-28 10:40:21 +02:00
|
|
|
submenu.url.length > 0)" [class.uk-active]="isTheActiveMenu(submenu)"
|
2022-03-14 17:35:00 +01:00
|
|
|
[class.uk-parent]="submenu.items && submenu.items.length > 0">
|
|
|
|
<a *ngIf="submenu.route.length > 0"
|
|
|
|
routerLink="{{submenu.route}}" [queryParams]="submenu.params"
|
|
|
|
[fragment]="submenu.fragment">{{submenu.title}}</a>
|
|
|
|
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0"
|
2022-06-02 16:27:45 +02:00
|
|
|
href="{{submenu.url}}" [class.custom-external]="submenu.url.includes('http')"
|
2022-03-14 17:35:00 +01:00
|
|
|
target="{{submenu.url.includes('http') ? '_blank' : '_self'}}">{{submenu.title}}</a>
|
|
|
|
<ul *ngIf="submenu.items && submenu.items.length > 0" class="uk-nav-sub">
|
|
|
|
<ng-container *ngFor="let subsubmenu of submenu.items">
|
|
|
|
<li>
|
|
|
|
<a *ngIf="subsubmenu.route.length > 0"
|
|
|
|
routerLink="{{subsubmenu.route}}" [queryParams]="subsubmenu.params"
|
|
|
|
[fragment]="subsubmenu.fragment">{{subsubmenu.title}}</a>
|
|
|
|
<a *ngIf="subsubmenu.route.length == 0 && subsubmenu.url.length > 0"
|
2022-06-02 16:27:45 +02:00
|
|
|
href="{{subsubmenu.url}}" class="custom-external" target="_blank">{{subsubmenu.title}}</a>
|
2022-03-14 17:35:00 +01:00
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<li *ngIf="submenu.route.length == 0 && submenu.url.length == 0 && isEnabled(submenu.entitiesRequired,showEntity) && isEnabled(submenu.routeRequired, showPage)"
|
|
|
|
class="uk-nav-header">{{submenu.title}}</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
<!-- Custom menu items -->
|
|
|
|
<!-- TODO: Add to mobile menu as well! -->
|
|
|
|
<ng-container *ngIf="additionalMenuItems?.length > 0 && properties.environment == 'development'">
|
|
|
|
<ng-container *ngFor="let menu of additionalMenuItems">
|
|
|
|
<li class="uk-parent">
|
|
|
|
<!-- INTERNAL ROOT-->
|
|
|
|
<a *ngIf="menu.type == 'internal' && menu.route && isEnabled([menu.route], showPage)"
|
|
|
|
routerLink="{{menu.route}}"
|
|
|
|
[queryParams]="menu.params"
|
|
|
|
[fragment]="menu.fragment">
|
|
|
|
{{menu.title}}
|
|
|
|
</a>
|
|
|
|
<!-- EXTERNAL ROOT-->
|
|
|
|
<a *ngIf="menu.type == 'external' && menu.url"
|
|
|
|
href="{{menu.url}}"
|
2022-06-02 16:27:45 +02:00
|
|
|
target="_blank" class="custom-external">
|
2022-03-14 17:35:00 +01:00
|
|
|
{{menu.title}}
|
|
|
|
</a>
|
|
|
|
<!-- NO ACTION ROOT-->
|
|
|
|
<a *ngIf="menu.type == 'noAction'">
|
|
|
|
{{menu.title}}
|
|
|
|
</a>
|
|
|
|
<div *ngIf="menu.items.length > 0" class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left"
|
|
|
|
style="top: 80px; left: 0px;" id="{{menu._id}}" uk-toggle>
|
|
|
|
<div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid="">
|
|
|
|
<div class="uk-first-column uk-height-max-medium uk-overflow-auto">
|
|
|
|
<ul class="uk-nav uk-navbar-dropdown-nav">
|
|
|
|
<ng-container *ngFor="let submenu of menu.items">
|
2022-03-09 22:38:05 +01:00
|
|
|
<li>
|
2022-03-14 17:35:00 +01:00
|
|
|
<!-- INTERNAL CHILD -->
|
|
|
|
<a *ngIf="submenu.type == 'internal' && submenu.route && isEnabled([submenu.route], showPage)"
|
|
|
|
routerLink="{{submenu.route}}"
|
|
|
|
[queryParams]="submenu.params"
|
|
|
|
[fragment]="submenu.fragment"
|
2022-03-28 10:40:21 +02:00
|
|
|
[class.uk-active]="isTheActiveMenu(submenu)">
|
2022-03-14 17:35:00 +01:00
|
|
|
{{submenu.title}}
|
|
|
|
</a>
|
|
|
|
<!-- EXTERNAL CHILD -->
|
|
|
|
<a *ngIf="submenu.type == 'external' && submenu.url"
|
|
|
|
href="{{submenu.url}}"
|
2022-06-02 16:27:45 +02:00
|
|
|
target="_blank" class="custom-external">
|
2022-03-14 17:35:00 +01:00
|
|
|
{{submenu.title}}
|
|
|
|
</a>
|
2022-03-09 22:38:05 +01:00
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
2022-03-14 17:35:00 +01:00
|
|
|
</div>
|
2022-02-28 13:38:26 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-14 17:35:00 +01:00
|
|
|
</li>
|
|
|
|
</ng-container>
|
2022-02-28 13:38:26 +01:00
|
|
|
</ng-container>
|
2022-03-14 17:35:00 +01:00
|
|
|
</ul>
|
|
|
|
</ng-template>
|
|
|
|
</ng-container>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2020-06-29 15:15:52 +02:00
|
|
|
</div>
|
2022-03-09 22:38:05 +01:00
|
|
|
<!-- New navbar for featured menu items - test only -->
|
|
|
|
<ng-container *ngIf="featuredMenuItems?.length > 0 && properties.environment == 'development'">
|
|
|
|
<div class="featuredNavBar">
|
|
|
|
<ul>
|
|
|
|
<ng-container *ngFor="let item of featuredMenuItems">
|
|
|
|
<li>
|
|
|
|
<!-- INTERNAL -->
|
|
|
|
<a *ngIf="item.type == 'internal' && item.route && isEnabled([item.route], showPage)"
|
|
|
|
routerLink="{{item.route}}"
|
|
|
|
[queryParams]="item.params"
|
|
|
|
[fragment]="item.fragment"
|
2022-03-28 10:40:21 +02:00
|
|
|
[class.uk-active]="isTheActiveMenu(item)">
|
2022-03-09 22:38:05 +01:00
|
|
|
{{item.title}}
|
|
|
|
</a>
|
|
|
|
<!-- EXTERNAL -->
|
|
|
|
<a *ngIf="item.type == 'external' && item.url"
|
2022-06-02 16:27:45 +02:00
|
|
|
href="{{item.url}}" class="custom-external"
|
2022-03-09 22:38:05 +01:00
|
|
|
target="_blank">
|
|
|
|
{{item.title}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
2020-06-29 15:15:52 +02:00
|
|
|
</div>
|
2018-03-16 09:56:42 +01:00
|
|
|
</div>
|
2020-10-06 10:12:14 +02:00
|
|
|
<ng-template #header_template let-mobile="mobile">
|
2022-02-28 17:00:57 +01:00
|
|
|
<a *ngIf="!header.url" [routerLink]="header.route" [class.uk-padding-remove]="!isHeaderLeft"
|
2022-03-14 18:45:11 +01:00
|
|
|
class="uk-logo uk-navbar-item uk-text-center uk-text-bold" [class.uk-margin-medium-left]="!mobile">
|
2020-10-06 10:12:14 +02:00
|
|
|
<img *ngIf="(mobile && header.logoSmallUrl) || (!mobile && header.logoUrl)"
|
|
|
|
[src]="!mobile?header.logoUrl:header.logoSmallUrl"
|
2022-03-14 18:45:11 +01:00
|
|
|
[alt]="header.title">
|
2021-04-07 16:54:23 +02:00
|
|
|
<ng-container *ngIf="(mobile && !header.logoSmallUrl) || (!mobile && !header.logoUrl)">
|
2021-04-09 14:35:02 +02:00
|
|
|
<div class="multi-line-ellipsis lines-2" [style.max-width]="(!mobile)?'25vw':null" [title]="header.title">
|
2021-11-26 09:31:50 +01:00
|
|
|
<p class="uk-margin-remove">{{header.title}}</p>
|
2021-04-09 14:35:02 +02:00
|
|
|
</div>
|
2021-04-07 16:54:23 +02:00
|
|
|
</ng-container>
|
2020-10-06 10:12:14 +02:00
|
|
|
</a>
|
2022-02-28 17:00:57 +01:00
|
|
|
<a *ngIf="header.url" [href]="header.url" [class.uk-padding-remove]="!isHeaderLeft"
|
2022-04-07 00:09:49 +02:00
|
|
|
class="uk-logo uk-navbar-item uk-text-center uk-text-bold" [class.uk-margin-medium-left]="!mobile">
|
2021-01-14 17:56:43 +01:00
|
|
|
<img *ngIf="(mobile && header.logoSmallUrl) || (!mobile && header.logoUrl)"
|
2021-04-07 16:54:23 +02:00
|
|
|
[src]="!mobile?header.logoUrl:header.logoSmallUrl"
|
2022-03-14 18:45:11 +01:00
|
|
|
[alt]="header.title">
|
2021-04-07 16:54:23 +02:00
|
|
|
<ng-container *ngIf="(mobile && !header.logoSmallUrl) || (!mobile && !header.logoUrl)">
|
2021-04-09 14:35:02 +02:00
|
|
|
<div class="multi-line-ellipsis lines-2" [style.max-width]="(!mobile)?'25vw':null" [title]="header.title">
|
2021-11-26 09:31:50 +01:00
|
|
|
<p class="uk-margin-remove">{{header.title}}</p>
|
2021-04-09 14:35:02 +02:00
|
|
|
</div>
|
2021-04-07 16:54:23 +02:00
|
|
|
</ng-container>
|
2020-10-06 10:12:14 +02:00
|
|
|
</a>
|
|
|
|
</ng-template>
|