From ce386cfb616d8bd0601a3e2ee0d5d30cd0b5b0fd Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 27 Aug 2015 14:05:24 +0800 Subject: fix suburl --- templates/repo/issue/list.tmpl | 2 +- templates/repo/issue/view_content.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/repo') diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 994c01d13c..e0b9366ace 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -109,7 +109,7 @@ {{end}}

- {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.Name | Safe}} + {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}} {{if .Milestone}} {{.Milestone.Name}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 5703dcf9a1..fa0d6868a7 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -30,7 +30,7 @@ {{ $createdStr:= TimeSince .Issue.Created $.Lang }} {{if gt .Issue.Poster.Id 0}} - {{$.i18n.Tr "repo.issues.opened_by" $createdStr .Issue.Poster.Name | Safe}} + {{$.i18n.Tr "repo.issues.opened_by" $createdStr .Issue.Poster.HomeLink .Issue.Poster.Name | Safe}} {{else}} {{$.i18n.Tr "repo.issues.opened_by_fake" $createdStr .Issue.Poster.Name | Safe}} {{end}} -- cgit v1.2.3