mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3551] Show vs View button for attach widget. (#5850)
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
"FIELD": {
|
"FIELD": {
|
||||||
"LOCALSTORAGE": "Local storage",
|
"LOCALSTORAGE": "Local storage",
|
||||||
"SOURCE": "Select source from ",
|
"SOURCE": "Select source from ",
|
||||||
"SHOW_FILE": "Show",
|
"VIEW_FILE": "View",
|
||||||
"DOWNLOAD_FILE": "Download",
|
"DOWNLOAD_FILE": "Download",
|
||||||
"REMOVE_FILE": "Remove",
|
"REMOVE_FILE": "Remove",
|
||||||
"UPLOAD": "UPLOAD",
|
"UPLOAD": "UPLOAD",
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
<button id="{{'file-'+file?.id+'-show-file'}}"
|
<button id="{{'file-'+file?.id+'-show-file'}}"
|
||||||
mat-menu-item (click)="onAttachFileClicked(file)">
|
mat-menu-item (click)="onAttachFileClicked(file)">
|
||||||
<mat-icon>image</mat-icon>
|
<mat-icon>image</mat-icon>
|
||||||
<span>{{ 'FORM.FIELD.SHOW_FILE' | translate }}</span>
|
<span>{{ 'FORM.FIELD.VIEW_FILE' | translate }}</span>
|
||||||
</button>
|
</button>
|
||||||
<button id="{{'file-'+file?.id+'-download-file'}}"
|
<button id="{{'file-'+file?.id+'-download-file'}}"
|
||||||
mat-menu-item (click)="downloadContent(file)">
|
mat-menu-item (click)="downloadContent(file)">
|
||||||
|
@@ -78,8 +78,8 @@
|
|||||||
<button id="{{'file-'+file.id+'-show-file'}}"
|
<button id="{{'file-'+file.id+'-show-file'}}"
|
||||||
[disabled]="file.isExternal || !file.contentAvailable"
|
[disabled]="file.isExternal || !file.contentAvailable"
|
||||||
mat-menu-item (click)="onAttachFileClicked(file)">
|
mat-menu-item (click)="onAttachFileClicked(file)">
|
||||||
<mat-icon>image</mat-icon>
|
<mat-icon>visibility</mat-icon>
|
||||||
<span>{{ 'FORM.FIELD.SHOW_FILE' | translate }}</span>
|
<span>{{ 'FORM.FIELD.VIEW_FILE' | translate }}</span>
|
||||||
</button>
|
</button>
|
||||||
<button id="{{'file-'+file.id+'-download-file'}}"
|
<button id="{{'file-'+file.id+'-download-file'}}"
|
||||||
[disabled]="file.isExternal"
|
[disabled]="file.isExternal"
|
||||||
|
Reference in New Issue
Block a user