mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
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
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
{{else}}
|
||||
<a class="link-action" href data-url="{{$.Link}}/{{.ID}}/close">{{svg "octicon-skip"}} {{$.i18n.Tr "repo.projects.close"}}</a>
|
||||
{{end}}
|
||||
<a class="delete-button" href="#" data-url="{{$.RepoLink}}/projects/{{.ID}}/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a>
|
||||
<a class="delete-button" href="#" data-url="{{$.RepoLink}}/projects/{{.ID}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}} {{$.i18n.Tr "repo.issues.label_delete"}}</a>
|
||||
</div>
|
||||
{{end}}
|
||||
{{if .Description}}
|
||||
@@ -78,7 +78,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">
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user