From 8c67cab06fc2d9120fcc09bbe9bce59a553dccae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20L=C3=B6fwenhamn?= Date: Mon, 25 Mar 2019 08:29:24 +0100 Subject: [PATCH] Make Ghost on milestone_issues not link to 404 page --- templates/repo/issue/milestone_issues.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index f2298dfdabc4..c81f6adf8b28 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -203,7 +203,11 @@ {{end}}

- {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}} + {{if gt .Poster.ID 0}} + {{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink .Poster.Name | Safe}} + {{else}} + {{$.i18n.Tr .GetLastEventLabelFake $timeStr .Poster.Name | Safe}} + {{end}} {{$tasks := .GetTasks}} {{if gt $tasks 0}} {{$tasksDone := .GetTasksDone}}