mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10210] SR: My Tasks: Breadcrumb “Process Management > Tasks > My Tasks” is not marked up correctly
This commit is contained in:
@@ -36,12 +36,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|
||||||
<div
|
<ol class="adf-breadcrumb" role="list">
|
||||||
|
<li
|
||||||
*ngFor="let item of lastNodes; let last = last"
|
*ngFor="let item of lastNodes; let last = last"
|
||||||
|
role="listitem"
|
||||||
[class.adf-active]="last"
|
[class.adf-active]="last"
|
||||||
[ngSwitch]="breadcrumbItemIsAnchor(last)"
|
[ngSwitch]="breadcrumbItemIsAnchor(last)"
|
||||||
title="{{ item.name | translate }}"
|
title="{{ item.name | translate }}"
|
||||||
class="adf-breadcrumb-item">
|
class="adf-breadcrumb-item"
|
||||||
|
>
|
||||||
<a
|
<a
|
||||||
*ngSwitchCase="true"
|
*ngSwitchCase="true"
|
||||||
href="#"
|
href="#"
|
||||||
@@ -52,12 +55,17 @@
|
|||||||
{{ item.name | translate }}
|
{{ item.name | translate }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div *ngSwitchDefault class="adf-breadcrumb-item-current" aria-current="location">
|
<div
|
||||||
|
*ngSwitchDefault
|
||||||
|
class="adf-breadcrumb-item-current"
|
||||||
|
aria-current="page"
|
||||||
|
>
|
||||||
{{ (selectedRowItemsCount < 1 ? item.name : 'BREADCRUMB.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }}
|
{{ (selectedRowItemsCount < 1 ? item.name : 'BREADCRUMB.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<mat-icon class="adf-breadcrumb-item-chevron" *ngIf="!last" adf-icon="chevron_right" />
|
<mat-icon class="adf-breadcrumb-item-chevron" *ngIf="!last" adf-icon="chevron_right" />
|
||||||
</div>
|
</li>
|
||||||
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<nav
|
<nav
|
||||||
@@ -66,9 +74,11 @@
|
|||||||
role="navigation"
|
role="navigation"
|
||||||
[attr.aria-label]="'BREADCRUMB.ARIA-LABEL.BREADCRUMB' | translate"
|
[attr.aria-label]="'BREADCRUMB.ARIA-LABEL.BREADCRUMB' | translate"
|
||||||
>
|
>
|
||||||
<div class="adf-breadcrumb-item adf-active" role="group">
|
<ol class="adf-breadcrumb" role="list">
|
||||||
<div class="adf-breadcrumb-item-current">
|
<li class="adf-breadcrumb-item adf-active" role="listitem">
|
||||||
|
<div class="adf-breadcrumb-item-current" aria-current="page">
|
||||||
{{ root | translate }}
|
{{ root | translate }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</li>
|
||||||
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user