From: Magnus Hagander Date: Fri, 6 Feb 2015 12:11:29 +0000 (+0100) Subject: Don't show "Latest email None ( ago)" for patches without email X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=d251d24f6e0d94871334deb070643f2b47caa918;p=pgcommitfest2.git Don't show "Latest email None ( ago)" for patches without email Reported by Stefan --- 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