#244 breadcrumb as a separate component (doclist only)

This commit is contained in:
Denys Vuika
2016-06-21 15:51:51 +01:00
parent bf7414fc85
commit e101f22e28
10 changed files with 175 additions and 138 deletions

View File

@@ -1,9 +1,3 @@
<ol *ngIf="breadcrumb" data-automation-id="breadcrumb" class="breadcrumb">
<li *ngFor="let r of route; let last = last" [class.active]="last" [ngSwitch]="last">
<span *ngSwitchCase="true">{{r.name}}</span>
<a *ngSwitchDefault href="#" [attr.data-automation-id]="'breadcrumb_' + r.name" (click)="goToRoute(r, $event)">{{r.name}}</a>
</li>
</ol>
<table *ngIf="folder" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
<thead>
<tr>