From d251d24f6e0d94871334deb070643f2b47caa918 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 6 Feb 2015 13:11:29 +0100 Subject: [PATCH] Don't show "Latest email None ( ago)" for patches without email Reported by Stefan --- pgcommitfest/commitfest/templates/patch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgcommitfest/commitfest/templates/patch.html b/pgcommitfest/commitfest/templates/patch.html index 2c504cf..7fcf9fd 100644 --- a/pgcommitfest/commitfest/templates/patch.html +++ b/pgcommitfest/commitfest/templates/patch.html @@ -22,7 +22,7 @@ Latest email - {{patch.lastmail}} ({{patch.lastmail|timesince}} ago) + {%if patch.lastmail%}{{patch.lastmail}} ({{patch.lastmail|timesince}} ago){%endif%} Status -- 2.39.5