diff options
-rw-r--r-- | templates/user/settings/applications.tmpl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 811ce5d643..6386eb3391 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -23,7 +23,7 @@ <div class="content"> <strong>{{.Name}}</strong> <div class="activity meta"> - <i>{{$.i18n.Tr "settings.add_on"}} <span>{{.CreatedUnix.FormatShort}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{.UpdatedUnix.FormatShort}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i> + <i>{{$.i18n.Tr "settings.add_on"}} <span>{{.CreatedUnix.FormatShort}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{.UpdatedUnix.FormatShort}}</span>{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}</i> </div> </div> </div> @@ -55,6 +55,12 @@ </div> <div class="ui small basic delete modal" id="delete-token"> + {{/* + The wording here is a bit confusing. + The action asks for deleting an access token. + Confirming is therefore the destructive option and + should be deemphasized because it cannot be undone. + */}} <div class="ui icon header"> {{svg "octicon-trash"}} {{.i18n.Tr "settings.access_token_deletion"}} @@ -63,11 +69,11 @@ <p>{{.i18n.Tr "settings.access_token_deletion_desc"}}</p> </div> <div class="actions"> - <div class="ui red basic inverted cancel button"> + <div class="ui cancel button"> <i class="remove icon"></i> {{.i18n.Tr "modal.no"}} </div> - <div class="ui green basic inverted ok button"> + <div class="ui red basic inverted ok button"> <i class="checkmark icon"></i> {{.i18n.Tr "modal.yes"}} </div> |