Bottom: change classes for route links to be visible

env-properties.ts: add a new field for Community content


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52503 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2018-06-15 13:03:36 +00:00
parent 31614c2cb5
commit 622ed57a8f
2 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,8 @@
<ul class="uk-subnav uk-margin-remove-bottom uk-subnav-divider uk-flex-center" uk-margin="" > <ul class="uk-subnav uk-margin-remove-bottom uk-subnav-divider uk-flex-center" uk-margin="" >
<ng-container *ngFor="let submenu of menuItems"> <ng-container *ngFor="let submenu of menuItems">
<li class="el-item" *ngIf="isEnabled(submenu.routeRequired, showPage)"> <li class="el-item" *ngIf="isEnabled(submenu.routeRequired, showPage)">
<a *ngIf="submenu.route.length > 0" routerLinkActive="uk-link" routerLink="{{submenu.route}}" [queryParams]=submenu.params >{{submenu.title}}</a> <a *ngIf="submenu.route.length > 0" routerLink="{{submenu.route}}" [queryParams]=submenu.params >{{submenu.title}}</a>
<a *ngIf="submenu.route.length == 0 && submenu.url.length > 0"routerLinkActive="uk-link" href="{{submenu.url}}" target="_blank" >{{submenu.title}}</a> <a *ngIf="submenu.route.length == 0 && submenu.url.length > 0" href="{{submenu.url}}" target="_blank" >{{submenu.title}}</a>
</li> </li>
</ng-container> </ng-container>
</ul> </ul>

View File

@ -5,6 +5,7 @@ export class EnvProperties {
enablePiwikTrack:boolean ; enablePiwikTrack:boolean ;
enableHelper:boolean; enableHelper:boolean;
useCache:boolean ; useCache:boolean ;
showContent:boolean ;
metricsAPIURL; metricsAPIURL;
framesAPIURL; framesAPIURL;