diff options
author | Unknwon <u@gogs.io> | 2015-08-27 14:05:24 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-27 14:05:24 +0800 |
commit | ce386cfb616d8bd0601a3e2ee0d5d30cd0b5b0fd (patch) | |
tree | 20f0ca03e4a79392fcf822d5bd2fd5d1c3929a1f /templates/repo | |
parent | b900863d60a79ab80327dab828138b7f79615d25 (diff) | |
download | gitea-ce386cfb616d8bd0601a3e2ee0d5d30cd0b5b0fd.tar.gz gitea-ce386cfb616d8bd0601a3e2ee0d5d30cd0b5b0fd.zip |
fix suburl
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/list.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
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}} <p class="desc"> - {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.Name | Safe}} + {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}} {{if .Milestone}} <a class="milestone" href="{{$.RepoLink}}/issues?type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}"> <span class="octicon octicon-milestone"></span> {{.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 }} <span class="time-desc"> {{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}} |