From 9e66a9c4c6c0ff04ed7d88958b4205b20e6705a2 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 29 May 2016 15:25:49 +0200 Subject: [PATCH] do not use django template code here --- shop/templatetags/shop_tags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shop/templatetags/shop_tags.py b/shop/templatetags/shop_tags.py index 2e95d880..77633320 100644 --- a/shop/templatetags/shop_tags.py +++ b/shop/templatetags/shop_tags.py @@ -12,7 +12,7 @@ def currency(value): @register.filter() def truefalseicon(value): if value: - return mark_safe("{% bootstrap_icon 'ok' %}") + return mark_safe("") else: - return mark_safe("{% bootstrap_icon 'remove' %}") + return mark_safe("")