[ACA-3551] Show vs View button for attach widget. (#5850)

This commit is contained in:
siva kumar
2020-07-31 14:01:12 +05:30
committed by GitHub
parent d553c71b1e
commit b8a3afce01
4 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -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)">

View 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"