Merge pull request #130 from Alfresco/dev-hashraf-auto-ids

Add data-automation-id for breadcrumb checkbox
This commit is contained in:
Denys Vuika 2016-06-02 14:57:40 +01:00
commit c7dbb4fcfd

View File

@ -1,4 +1,4 @@
<ol *ngIf="breadcrumb" class="breadcrumb"> <ol *ngIf="breadcrumb" data-automation-id="breadcrumb" class="breadcrumb">
<li *ngFor="#r of route; #last = last" [class.active]="last" [ngSwitch]="last"> <li *ngFor="#r of route; #last = last" [class.active]="last" [ngSwitch]="last">
<span *ngSwitchWhen="true">{{r.name}}</span> <span *ngSwitchWhen="true">{{r.name}}</span>
<a *ngSwitchDefault href="#" (click)="goToRoute(r, $event)">{{r.name}}</a> <a *ngSwitchDefault href="#" (click)="goToRoute(r, $event)">{{r.name}}</a>