From 73fedc727538381d4e1048ee03be6b45e977a076 Mon Sep 17 00:00:00 2001 From: Tanapol Nearunchorn Date: Sat, 2 Jul 2016 02:10:30 +0700 Subject: provide button to delete merged pull request --- templates/repo/issue/view_content.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'templates/repo/issue') diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 39110591..e3ecfe74 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -163,6 +163,15 @@
{{$.i18n.Tr "repo.pulls.has_merged"}}
+ {{if .IsPullBranchDeletable}} +
+
+
+ {{.CsrfTokenHtml}} + +
+
+ {{end}} {{else if .Issue.IsClosed}}
{{$.i18n.Tr "repo.pulls.reopen_to_merge"}} @@ -265,7 +274,7 @@ - + {{end}}
-- cgit v1.2.3