From ebf1bd4f518971253e0a7a0e923645c1d584e03e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 1 Sep 2015 19:26:39 -0400 Subject: add view pull desc --- templates/repo/issue/view_title.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/repo/issue/view_title.tmpl') diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 6b8e1c55..27ce4d6c 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -21,6 +21,11 @@ {{else}}
{{.i18n.Tr "repo.issues.open_title"}}
{{end}} + + {{if .Issue.IsPull}} + {{.Issue.Poster.Name}} + {{$.i18n.Tr "repo.pulls.title_desc" .NumCommits .HeadTarget .BaseTarget | Str2html}} + {{else}} {{ $createdStr:= TimeSince .Issue.Created $.Lang }} {{if gt .Issue.Poster.Id 0}} @@ -31,5 +36,6 @@ ยท {{$.i18n.Tr "repo.issues.num_comments" .Issue.NumComments}} + {{end}}
\ No newline at end of file -- cgit v1.2.3