Merge pull request #332 from Alfresco/dev-pionnegru-new-folder-tooltip-fix

[ACA] New Folder - tooltip fix
This commit is contained in:
Denys Vuika
2018-04-27 09:35:09 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
@@ -27,7 +27,7 @@
mat-icon-button
color="primary"
*ngIf="showEditOption(documentList.selection)"
title="{{ 'APP.ACTIONS.EDIT' | translate }}"
[attr.title]="'APP.ACTIONS.EDIT' | translate"
(error)="openSnackMessage($event)"
[adf-edit-folder]="documentList.selection[0]?.entry">
<mat-icon>create</mat-icon>
@@ -29,7 +29,7 @@
color="primary"
mat-icon-button
*ngIf="canEditFolder(documentList.selection)"
title="{{ 'APP.ACTIONS.EDIT' | translate }}"
[attr.title]="'APP.ACTIONS.EDIT' | translate"
(error)="openSnackMessage($event)"
[adf-edit-folder]="documentList.selection[0]?.entry">
<mat-icon>create</mat-icon>
@@ -24,7 +24,7 @@
[disabled]="!permission.check(node, ['create'])"
(error)="openSnackMessage($event)"
[adf-create-folder]="node?.id"
[title]="
[attr.title]="
( permission.check(node, ['create'])
? 'APP.NEW_MENU.TOOLTIPS.CREATE_FOLDER'
: 'APP.NEW_MENU.TOOLTIPS.CREATE_FOLDER_NOT_ALLOWED'