summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest
diff options
context:
space:
mode:
authorMagnus Hagander2015-02-06 12:11:29 +0000
committerMagnus Hagander2015-02-06 12:11:29 +0000
commitd251d24f6e0d94871334deb070643f2b47caa918 (patch)
tree3ebb9b1050ea46ca5cb2542499a7e3571c72f15c /pgcommitfest/commitfest
parent1a5e91e7a51a084cd908513ca02185f39d426398 (diff)
Don't show "Latest email None ( ago)" for patches without email
Reported by Stefan
Diffstat (limited to 'pgcommitfest/commitfest')
-rw-r--r--pgcommitfest/commitfest/templates/patch.html2
1 files changed, 1 insertions, 1 deletions
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 @@
</tr>
<tr>
<th style="white-space: nowrap;">Latest email</th>
- <td>{{patch.lastmail}} ({{patch.lastmail|timesince}} ago)</td>
+ <td>{%if patch.lastmail%}{{patch.lastmail}} ({{patch.lastmail|timesince}} ago){%endif%}</td>
</tr>
<tr>
<th>Status</th>