diff options
author | 2020-06-23 18:18:25 +0000 | |
---|---|---|
committer | 2020-06-23 18:18:25 +0000 | |
commit | bece19521a6bdea216d7cc39fee4aedf360c377f (patch) | |
tree | 68c2b93a9a27ab939215d6f6132f03a08c33e653 | |
parent | Speed up the tableExists check (diff) | |
download | archives-bece19521a6bdea216d7cc39fee4aedf360c377f.tar.gz archives-bece19521a6bdea216d7cc39fee4aedf360c377f.tar.bz2 archives-bece19521a6bdea216d7cc39fee4aedf360c377f.zip |
Fix empty dates
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r-- | web/templates/list/show.tmpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/web/templates/list/show.tmpl b/web/templates/list/show.tmpl index 40b01ef..7dd4dfc 100644 --- a/web/templates/list/show.tmpl +++ b/web/templates/list/show.tmpl @@ -16,10 +16,12 @@ </tr> {{range .MessageData}} - <tr> - <td><a href="threads/{{.CombinedDate}}/">{{.CombinedDate}}</a></td> - <td>{{.MessageCount}}</td> - </tr> + {{if ne .CombinedDate ""}} + <tr> + <td><a href="threads/{{.CombinedDate}}/">{{.CombinedDate}}</a></td> + <td>{{.MessageCount}}</td> + </tr> + {{end}} {{end}} </table> |