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/repo/issue/milestones.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/repo/issue/milestones.tmpl')
-rw-r--r-- | templates/repo/issue/milestones.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index 89ae813d45..ecb7cd95f1 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -76,7 +76,7 @@ {{else}} <a class="link-action" href data-url="{{$.Link}}/{{.ID}}/close">{{svg "octicon-x"}} {{$.i18n.Tr "repo.milestones.close"}}</a> {{end}} - <a class="delete-button" href="#" data-url="{{$.RepoLink}}/milestones/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> + <a class="delete-button" href="#" data-url="{{$.RepoLink}}/milestones/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a> </div> {{end}} {{if .Content}} @@ -95,7 +95,7 @@ {{if or .CanWriteIssues .CanWritePulls}} <div class="ui small basic delete modal"> <div class="ui icon header"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{.i18n.Tr "repo.milestones.deletion"}} </div> <div class="content"> |