{{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 0837e39fe..b18daae31 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -292,42 +292,42 @@ - {{end}} - + {{end}} + {{if .CanCreateIssueDependencies}} - - - + + + -
{{if .Issue.IsPull}} - {{.i18n.Tr "repo.issues.dependency.pr_remove_text"}} - {{else}} - {{.i18n.Tr "repo.issues.dependency.issue_remove_text"}} - {{end}}
-