mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
* initial trashcan support and demo page * use testbed for unit tests * support for restricting navigation for special data sources * shared links mode, thumbnail fixes * update unit tests * improve Trashcan/SharedLinks columns * Sites view for document list * Favorites support for DL, upgrade to latest js-api (alpha) * recent files support for document list * support default presets * readme updates and code fixes * code fixes * breadcrumb fixes - show custom root node for certain scenarios - fix css issues - fix crash related to missing "path" property for certain scenarios * toolbar style fixes - addresses the shrinking issues with components embedded into toolbar (i.e. breadcrumb) * i18n support for column presets * unit tests
30 lines
924 B
HTML
30 lines
924 B
HTML
<div *ngIf="folderNode" data-automation-id="breadcrumb" class="adf-breadcrumb-container">
|
|
<li *ngFor="let item of route; let last = last"
|
|
[class.active]="last"
|
|
[ngSwitch]="last"
|
|
title="{{ item.name }}"
|
|
class="adf-breadcrumb-item">
|
|
|
|
<a *ngSwitchDefault href="#" [attr.data-automation-id]="'breadcrumb_' + item.name"
|
|
class="adf-breadcrumb-item-anchor"
|
|
(click)="onRoutePathClick(item, $event)">
|
|
{{ item.name }}
|
|
</a>
|
|
|
|
<div *ngSwitchCase="true" class="adf-breadcrumb-item-current">
|
|
{{ item.name }}
|
|
</div>
|
|
|
|
<i class="material-icons adf-breadcrumb-item-chevron" *ngIf="!last">
|
|
chevron_right
|
|
</i>
|
|
</li>
|
|
</div>
|
|
<div *ngIf="!folderNode && root">
|
|
<li class="adf-breadcrumb-item">
|
|
<div class="adf-breadcrumb-item-current">
|
|
{{ root }}
|
|
</div>
|
|
</li>
|
|
</div>
|