Skip to content

Commit

Permalink
[ACA-2210] Version Dialog - update button text (Alfresco#939)
Browse files Browse the repository at this point in the history
* dialog action buttons text to uppercase

* dialog text Cancel over Close

* update translation reference
  • Loading branch information
pionnegru authored and dhrn committed Apr 30, 2019
1 parent 21d9a2e commit 5aad946
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1 mat-dialog-title class="node-version-dialog__title">

<div mat-dialog-actions class="dialog-actions">
<button mat-button mat-dialog-close>
{{ 'VERSION.DIALOG.CLOSE' | translate }}
{{ 'VERSION.DIALOG.CANCEL' | translate }}
</button>
<button
mat-button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

.dialog-actions {
justify-content: flex-end;

button {
text-transform: uppercase;
}
}

.node-version-dialog__title {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
},
"DIALOG": {
"TITLE": "Upload New Version",
"CLOSE": "Close",
"CANCEL": "Cancel",
"UPLOAD": "Upload"
},
"FORM": {
Expand Down

0 comments on commit 5aad946

Please sign in to comment.