diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 57dd8f4cd..e416affff 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -61,7 +61,7 @@ @@ -113,14 +113,14 @@ {{end}}

- {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}} + {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.DisplayName | Safe}} {{if .Milestone}} {{.Milestone.Name | Sanitize}} {{end}} {{if .Assignee}} - + {{end}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 1b54718bb..07acc541d 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -17,7 +17,7 @@

- {{.Issue.Poster.Name}} {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}} + {{.Issue.Poster.DisplayName}} {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}}
{{if .IsIssueOwner}}
@@ -66,7 +66,7 @@
- {{.Poster.Name}} {{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}} + {{.Poster.DisplayName}} {{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}}
{{if gt .ShowTag 0}}
@@ -90,7 +90,7 @@
{{if .RenderedContent}} - {{.RenderedContent|Str2html}} + {{.RenderedContent | Str2html}} {{else}} {{$.i18n.Tr "repo.issues.no_content"}} {{end}} @@ -137,7 +137,7 @@ - {{.Poster.Name}} {{$.i18n.Tr "repo.issues.commit_ref_at" .EventTag $createdStr | Safe}} + {{.Poster.DisplayName}} {{$.i18n.Tr "repo.issues.commit_ref_at" .EventTag $createdStr | Safe}}
{{.Content | Str2html}} @@ -328,7 +328,7 @@
@@ -336,7 +336,7 @@ {{.i18n.Tr "repo.issues.new.no_assignee"}}
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 6c337f0ad..429ca8201 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -42,7 +42,7 @@

- {{.Publisher.Name}} + {{.Publisher.DisplayName}} {{if .Created}}{{TimeSince .Created $.Lang}}{{end}} {{$.i18n.Tr "repo.release.ahead" .NumCommitsBehind .Target | Str2html}}