From 2dc52e9c4b5280c1e61e145322dd61aec52b45f3 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Wed, 4 Jul 2018 21:10:04 +0200 Subject: [PATCH] Fix jinja2 undefined error --- wowfunding/templates/proposal/macros/table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wowfunding/templates/proposal/macros/table.html b/wowfunding/templates/proposal/macros/table.html index 05b0b61..c599a7d 100644 --- a/wowfunding/templates/proposal/macros/table.html +++ b/wowfunding/templates/proposal/macros/table.html @@ -5,7 +5,7 @@ {{title}} Username Date - {% if status >= 2 %} + {% if _proposals and _proposals[0].status >= 2 %} Funding {% else %}