From: pebosi Date: Tue, 14 Jan 2014 22:38:42 +0000 (+0100) Subject: re-commit fix X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1ad555dd7c2319c8225b6c18e34984d44213157;hp=a46d1c667d29473efbb005815381478128b7c2e1;p=people%2Fshoehn%2Fipfire.org.git re-commit fix --- diff --git a/templates/index.html b/templates/index.html index 120c2b4..82c8da5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -182,7 +182,7 @@ {% if item.is_new() %} {{ _("NEW") }} - {% elif item.remaining_days <= 10 %} + {% elif item.remaining_days and item.remaining_days <= 10 %} {{ _("one day left", "%(num)s days left", item.remaining_days) % { "num" : item.remaining_days } }}