From 780f71c4caf5164a913e438920bd1c2ba5242453 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 25 Mar 2023 04:18:27 +0800 Subject: [PATCH] Fix incorrect `show-modal` and `show-panel` class (#23660) (#23663) Backport #23660 That's incorrect code caused by Copy&Paste. `show-modal` / `show-panel` are used by JS to show something, but these links have `href`, they should navigate to new page. Close #23657 --- templates/repo/projects/view.tmpl | 2 +- templates/repo/settings/lfs.tmpl | 6 +++--- templates/repo/settings/lfs_file.tmpl | 2 +- templates/repo/settings/lfs_pointers.tmpl | 2 +- templates/user/settings/keys_gpg.tmpl | 2 +- templates/user/settings/keys_ssh.tmpl | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index 0c49c1d025..4ec12bb060 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -8,7 +8,7 @@
{{if and .CanWriteProjects (not .Repository.IsArchived)}} - {{.locale.Tr "repo.issues.new"}} + {{.locale.Tr "repo.issues.new"}} {{.locale.Tr "new_project_board"}} {{end}}