From 1a03fa7a4f353eb2f965cdcac39f630c281eca1e Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 22 Mar 2021 05:04:19 +0100 Subject: 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 --- templates/repo/release/list.tmpl | 4 ++-- templates/repo/release/new.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/repo/release') diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 780a75ad89..5271f650ee 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -44,7 +44,7 @@ {{end}} {{if (and ($.Permission.CanWrite $.UnitTypeCode) $release.IsTag)}} - {{svg "octicon-trashcan" 16 "mr-2"}}{{$.i18n.Tr "repo.release.delete_tag"}} + {{svg "octicon-trash" 16 "mr-2"}}{{$.i18n.Tr "repo.release.delete_tag"}} {{end}} {{if (not $release.IsTag)}} @@ -179,7 +179,7 @@ {{if (and ($.Permission.CanWrite $.UnitTypeCode) .PageIsTagList)}}