Skip to content

Commit 8c67cab

Browse files
author
Oscar Löfwenhamn
committed
Make Ghost on milestone_issues not link to 404 page
1 parent 06f00b1 commit 8c67cab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/repo/issue/milestone_issues.tmpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,11 @@
203203
{{end}}
204204

205205
<p class="desc">
206-
{{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}}
206+
{{if gt .Poster.ID 0}}
207+
{{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink .Poster.Name | Safe}}
208+
{{else}}
209+
{{$.i18n.Tr .GetLastEventLabelFake $timeStr .Poster.Name | Safe}}
210+
{{end}}
207211
{{$tasks := .GetTasks}}
208212
{{if gt $tasks 0}}
209213
{{$tasksDone := .GetTasksDone}}

0 commit comments

Comments
 (0)