{{if .Issue.IsPull}} + {{.i18n.Tr "repo.issues.dependency.pr_remove_text"}} + {{else}} + {{.i18n.Tr "repo.issues.dependency.issue_remove_text"}} + {{end}}
+diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 9df7d7ed44..e068e72d65 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}}
-