From d43c5895bc5026fb29dd9aa509056e49b4644ba7 Mon Sep 17 00:00:00 2001 From: Justin Nuß Date: Thu, 24 Jul 2014 10:15:05 +0200 Subject: Update template and style, only close commit if commit is in same repository --- templates/repo/issue/view.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'templates/repo') diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index d95fba40d8..653734767e 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -49,6 +49,7 @@ {{range .Comments}} + {{/* 0 = COMMENT, 1 = REOPEN, 2 = CLOSE, 3 = ISSUE, 4 = COMMIT, 5 = PULL */}} {{if eq .Type 0}}
@@ -78,6 +79,17 @@ {{.Poster.Name}} Closed this issue {{TimeSince .Created}}
+ {{else if eq .Type 4}} +
+ +
+ {{.Poster.Name}} Referenced this issue {{TimeSince .Created}} +

+ + {{.ContentHtml}} +

+
+
{{end}} {{end}}
-- cgit v1.2.3