diff options
author | silverwind <me@silverwind.io> | 2021-03-22 05:04:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 05:04:19 +0100 |
commit | 1a03fa7a4f353eb2f965cdcac39f630c281eca1e (patch) | |
tree | 042e54d01f25afff9f78c38cdc3d1c2da062118f /templates/user/settings/applications.tmpl | |
parent | a587a284349e7c27d1bec39ef0dedb3972ef68c5 (diff) | |
download | gitea-1a03fa7a4f353eb2f965cdcac39f630c281eca1e.tar.gz gitea-1a03fa7a4f353eb2f965cdcac39f630c281eca1e.zip |
Update JS dependencies (#15033)
* Update JS dependencies
- Update all JS dependencies
- For octicons, rename trashcan to trash
- For svgo, migrate to v2 api, output seems to have slightly changed but icons look the same
- For stylelint, update config, fix custom property duplicates
- For monaco, drop legacy Edge support
- For eslint, enable new rules, fix new issues
- For less-loader, remove deprecated import syntax
* update svgo usage in generate-images and rebuild logo.svg with it
Diffstat (limited to 'templates/user/settings/applications.tmpl')
-rw-r--r-- | templates/user/settings/applications.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 5f5f96d4eb..0455b5e221 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -15,7 +15,7 @@ <div class="item"> <div class="right floated content"> <button class="ui red tiny button delete-button" id="delete-token" data-url="{{$.Link}}/delete" data-id="{{.ID}}"> - {{svg "octicon-trashcan" 16 "mr-2"}} + {{svg "octicon-trash" 16 "mr-2"}} {{$.i18n.Tr "settings.delete_token"}} </button> </div> @@ -56,7 +56,7 @@ <div class="ui small basic delete modal" id="delete-token"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "settings.access_token_deletion"}} </div> <div class="content"> |