From 6ab37a1135166bca0610caa7d1f9a4b21497942a Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 10 May 2018 06:05:12 +0200 Subject: [PATCH] Fixed issue deadline not showing on issue page (#3930) --- templates/repo/issue/view_content/sidebar.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index f403fa7cc..f0e4f96cf 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -211,7 +211,7 @@
{{.i18n.Tr "repo.issues.due_date"}} - {{if gt .Issue.DeadlineUnix 0}} + {{if ne .Issue.DeadlineUnix 0}}

{{.Issue.DeadlineUnix.FormatShort}} @@ -229,12 +229,12 @@ {{end}} {{if and .IsSigned .IsRepositoryWriter}} -

+ {{$.CsrfTokenHtml}}
- +