From 378d6b849130b539d11a1317d630d4a632a191c5 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 24 Mar 2023 00:52:20 +0800 Subject: [PATCH] Fix incorrect `show-modal` and `show-panel` class (#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 99831f3dd9..07895b6815 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_column"}} {{end}}