Initial commit - LoreMind project
This commit is contained in:
12
web/src/app/shared/breadcrumb/breadcrumb.component.html
Normal file
12
web/src/app/shared/breadcrumb/breadcrumb.component.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<nav class="breadcrumb" aria-label="Fil d'Ariane" *ngIf="items.length">
|
||||
<ol>
|
||||
<li *ngFor="let item of items; let last = last; trackBy: trackByIndex"
|
||||
class="breadcrumb-item"
|
||||
[class.current]="last">
|
||||
<a *ngIf="item.route && !last"
|
||||
[routerLink]="item.route"
|
||||
class="breadcrumb-link">{{ item.label }}</a>
|
||||
<span *ngIf="!item.route || last" class="breadcrumb-text">{{ item.label }}</span>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user