summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-03-22 05:04:19 +0100
committerGitHub <noreply@github.com>2021-03-22 05:04:19 +0100
commit1a03fa7a4f353eb2f965cdcac39f630c281eca1e (patch)
tree042e54d01f25afff9f78c38cdc3d1c2da062118f /templates/base
parenta587a284349e7c27d1bec39ef0dedb3972ef68c5 (diff)
downloadgitea-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/base')
-rw-r--r--templates/base/delete_modal_actions.tmpl2
-rw-r--r--templates/base/head_navbar.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/delete_modal_actions.tmpl b/templates/base/delete_modal_actions.tmpl
index 7a0760b125..ba9a94d0b6 100644
--- a/templates/base/delete_modal_actions.tmpl
+++ b/templates/base/delete_modal_actions.tmpl
@@ -1,6 +1,6 @@
<div class="actions">
<div class="ui red basic inverted cancel button">
- {{svg "octicon-trashcan"}}
+ {{svg "octicon-trash"}}
{{.i18n.Tr "modal.no"}}
</div>
<div class="ui green basic inverted ok button">
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl
index def83d9726..ec5c17b6b4 100644
--- a/templates/base/head_navbar.tmpl
+++ b/templates/base/head_navbar.tmpl
@@ -100,7 +100,7 @@
class="ui button mini compact basic icon fitted poping up"
data-content="{{.i18n.Tr "repo.issues.cancel_tracking"}}"
data-position="top right" data-variation="small inverted"
- >{{svg "octicon-trashcan"}}</button>
+ >{{svg "octicon-trash"}}</button>
</form>
</div>
</div>