Enabled Public Dataset Description Search for authenticated Users (#Task38 - Exploring dataset descriptions by authenticated users)

This commit is contained in:
Ioannis Kalyvas 2018-10-15 15:58:30 +03:00
parent f1ff0ebf0b
commit 5d6ba74d61
1 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,9 @@
<a class="app-logo" routerLink="/">
<img [src]="'/assets/images/OpenDMP.png'" alt="openDMP">
</a>
<div>
<a mat-button class="navbar-button" routerLink="/datasets/public">{{'NAV-BAR.PUBLIC-DATASETS' | translate}}</a>
</div>
<div *ngIf="isAuthenticated()">
<a mat-button class="navbar-button" routerLink="/projects">{{this.languageResolver.getBy('navbar') | translate}}</a>
<a mat-button class="navbar-button" routerLink="/dmps">{{'NAV-BAR.DMPS' | translate}}</a>
@ -12,9 +15,7 @@
<a *ngIf="isAdmin()" mat-button class="navbar-button" routerLink="/datasetsProfiles">{{'NAV-BAR.DATASETS-ADMIN'
| translate}}</a>
</div>
<div *ngIf="!isAuthenticated()">
<button mat-button class="navbar-button" routerLink="/datasets/public">{{'NAV-BAR.PUBLIC-DATASETS' | translate}}</button>
</div>
<!--<button mat-button class="navbar-button" routerLink="/about">{{'NAV-BAR.ABOUT' | translate}}</button>-->
<span class="navbar-spacer"></span>