{{if .Issue.IsPull}} + {{.i18n.Tr "repo.issues.dependency.pr_remove_text"}} + {{else}} + {{.i18n.Tr "repo.issues.dependency.issue_remove_text"}} + {{end}}
+From dc081959dbf5aea99f975b79275d43efe681bc25 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 28 Feb 2021 15:05:55 +0100 Subject: [PATCH] Fix issue/pul sidebar (#14826) --- .../repo/issue/view_content/sidebar.tmpl | 395 +++++++++--------- 1 file changed, 198 insertions(+), 197 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 9df7d7ed4..e068e72d6 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -4,94 +4,94 @@ {{if .Issue.IsPull }} - -
{{if .Issue.IsPull}} + {{.i18n.Tr "repo.issues.dependency.pr_remove_text"}} + {{else}} + {{.i18n.Tr "repo.issues.dependency.issue_remove_text"}} + {{end}}
+{{if .Issue.IsPull}} - {{.i18n.Tr "repo.issues.dependency.pr_remove_text"}} - {{else}} - {{.i18n.Tr "repo.issues.dependency.issue_remove_text"}} - {{end}}
-