From f1ad555dd7c2319c8225b6c18e34984d44213157 Mon Sep 17 00:00:00 2001 From: pebosi Date: Tue, 14 Jan 2014 23:38:42 +0100 Subject: [PATCH] re-commit fix --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }} -- 2.39.2