Improve label edit buttons labels (#11841)
* Improve label edit buttons labels Previously when editing the buttons in the "Edit Label" modal were a strange "Update" and "No". Improved them to "Save" and "Cancel". Also fixed indentation in the template file, recommended to view changes with the "Hide whitespace changes" option enabled on GitHub. * remove unnecessary button icon Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
b9e281265e
commit
ca8ecf7ffc
2 changed files with 49 additions and 49 deletions
|
@ -71,6 +71,7 @@ issues = Issues
|
|||
milestones = Milestones
|
||||
|
||||
cancel = Cancel
|
||||
save = Save
|
||||
add = Add
|
||||
add_all = Add All
|
||||
remove = Remove
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
{{.i18n.Tr "modal.yes"}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui small edit-label modal">
|
||||
<div class="ui small edit-label modal">
|
||||
<div class="header">
|
||||
{{.i18n.Tr "repo.issues.label_modify"}}
|
||||
</div>
|
||||
|
@ -48,12 +48,11 @@
|
|||
</div>
|
||||
<div class="actions">
|
||||
<div class="ui negative button">
|
||||
{{.i18n.Tr "modal.no"}}
|
||||
</div>
|
||||
<div class="ui positive right labeled icon button">
|
||||
{{.i18n.Tr "modal.modify"}}
|
||||
<i class="checkmark icon"></i>
|
||||
{{.i18n.Tr "cancel"}}
|
||||
</div>
|
||||
<div class="ui positive button">
|
||||
{{.i18n.Tr "save"}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Reference in a new issue