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/projects/view.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/projects/view.tmpl')
-rw-r--r-- | templates/repo/projects/view.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index 1d4a26837e..7a1583e556 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -58,7 +58,7 @@ </a> {{end}} <a class="item delete-button" href="#" data-url="{{$.RepoLink}}/projects/{{.Project.ID}}/delete" data-id="{{.Project.ID}}"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} <span class="mx-3">{{$.i18n.Tr "repo.issues.label_delete"}}</span> </a> </div> @@ -92,7 +92,7 @@ </a> {{end}} <a class="item show-modal button" data-modal="#delete-board-modal-{{.ID}}"> - {{svg "octicon-trashcan"}} + {{svg "octicon-trash"}} {{$.i18n.Tr "repo.projects.board.delete"}} </a> @@ -203,7 +203,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.projects.deletion"}} </div> <div class="content"> |