Skip to content

Commit

Permalink
[ACA-3551] Show vs View button for attach widget.
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakumar414ram authored and eromano committed Jul 26, 2020
1 parent 8d43155 commit fe83f55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/core/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"FIELD": {
"LOCALSTORAGE": "Local storage",
"SOURCE": "Select source from ",
"SHOW_FILE": "Show",
"VIEW_FILE": "View",
"DOWNLOAD_FILE": "Download",
"REMOVE_FILE": "Remove",
"UPLOAD": "UPLOAD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<button id="{{'file-'+file?.id+'-show-file'}}"
mat-menu-item (click)="onAttachFileClicked(file)">
<mat-icon>image</mat-icon>
<span>{{ 'FORM.FIELD.SHOW_FILE' | translate }}</span>
<span>{{ 'FORM.FIELD.VIEW_FILE' | translate }}</span>
</button>
<button id="{{'file-'+file?.id+'-download-file'}}"
mat-menu-item (click)="downloadContent(file)">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
<button id="{{'file-'+file.id+'-show-file'}}"
[disabled]="file.isExternal || !file.contentAvailable"
mat-menu-item (click)="onAttachFileClicked(file)">
<mat-icon>image</mat-icon>
<span>{{ 'FORM.FIELD.SHOW_FILE' | translate }}</span>
<mat-icon>visibility</mat-icon>
<span>{{ 'FORM.FIELD.VIEW_FILE' | translate }}</span>
</button>
<button id="{{'file-'+file.id+'-download-file'}}"
[disabled]="file.isExternal"
Expand Down

0 comments on commit fe83f55

Please sign in to comment.