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/org | |
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/org')
-rw-r--r-- | templates/org/settings/delete.tmpl | 2 | ||||
-rw-r--r-- | templates/org/team/new.tmpl | 2 | ||||
-rw-r--r-- | templates/org/team/repositories.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/org/settings/delete.tmpl b/templates/org/settings/delete.tmpl index d4911e74b8..1cf24639df 100644 --- a/templates/org/settings/delete.tmpl +++ b/templates/org/settings/delete.tmpl @@ -31,7 +31,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "org.settings.delete_org_title"}} </div> <div class="content"> diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 85f945c834..b4c385a2b0 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -116,7 +116,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "org.teams.delete_team_title"}} </div> <div class="content"> diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl index 3b5f1b33fb..350e8a4628 100644 --- a/templates/org/team/repositories.tmpl +++ b/templates/org/team/repositories.tmpl @@ -66,7 +66,7 @@ <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "org.teams.remove_all_repos_title"}} </div> <div class="content"> |