mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
* custom element as accessibility link * fix focus outline * internationalization key * folder link aria-label * use not folder evaluation for shared files
29 lines
708 B
HTML
29 lines
708 B
HTML
<div
|
|
class="aca-custom-name-column"
|
|
[ngClass]="{
|
|
'aca-name-column-container': isFile() && isFileWriteLocked()
|
|
}"
|
|
>
|
|
<span
|
|
role="link"
|
|
[attr.aria-label]="
|
|
(isFile()
|
|
? 'CUSTOM_NAME_COLUMN.ACCESSIBILITY.FILE_LINK_ARIA_LABEL'
|
|
: 'CUSTOM_NAME_COLUMN.ACCESSIBILITY.FOLDER_LINK_ARIA_LABEL')
|
|
| translate
|
|
: {
|
|
name: displayText$ | async
|
|
}
|
|
"
|
|
class="adf-datatable-cell-value"
|
|
title="{{ node | adfNodeNameTooltip }}"
|
|
(click)="onClick()"
|
|
>
|
|
{{ displayText$ | async }}
|
|
</span>
|
|
|
|
<ng-container *ngIf="isFile() && isFileWriteLocked()">
|
|
<aca-locked-by [context]="context"></aca-locked-by>
|
|
</ng-container>
|
|
</div>
|