forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathcris-layout.component.html
More file actions
25 lines (24 loc) · 1.12 KB
/
cris-layout.component.html
File metadata and controls
25 lines (24 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<nav class="navbar navbar-light cris-results-back mb-2" *ngIf="showBackButton | async">
<div class="container">
<ds-themed-results-back-button [back]="back"></ds-themed-results-back-button>
</div>
</nav>
<div class="cris-layout">
<ng-container *ngIf="!!tabs$">
<ng-container *ngVar="(leadingTabs$ | async) as leadingTabs">
<ds-cris-layout-leading *ngIf="(hasLeadingTab$ | async) && !!leadingTabs && leadingTabs.length > 0"
[item]="item"
[showContextMenu]="showContextMenu"
[tab]="leadingTabs[0]"></ds-cris-layout-leading>
</ng-container>
</ng-container>
<ng-container *ngIf="!!tabs$">
<ng-container *ngVar="(loaderTabs$ | async) as loaderTabs">
<ds-cris-layout-loader *ngIf="!!loaderTabs && loaderTabs.length > 0"
[leadingTabs]="(leadingTabs$ | async)"
[item]="item"
[showContextMenu]="!(hasLeadingTab$ | async) && showContextMenu"
[tabs]="loaderTabs"></ds-cris-layout-loader>
</ng-container>
</ng-container>
</div>