From a674b0e0769ce1cff1e7eceee53d61247e567d0f Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 9 May 2018 18:52:27 +0200 Subject: [PATCH 1/3] Fixed issue deadline not showing on issue page --- templates/repo/issue/view_content/sidebar.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index f403fa7cc7284..076ee547cf11b 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}} From 78e61b9a399ca14d8970dffbefd7f99722e40cbc Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 9 May 2018 19:17:16 +0200 Subject: [PATCH 2/3] Fixed issue deadline not showing on issue page --- templates/repo/issue/view_content/sidebar.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 076ee547cf11b..c868c27d9caec 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -229,12 +229,12 @@ {{end}} {{if and .IsSigned .IsRepositoryWriter}} -

+ {{$.CsrfTokenHtml}}
- +