From 54f73a784b8b97b65bfd981bc1ed3adc0e7176d4 Mon Sep 17 00:00:00 2001 From: spacenergy Date: Fri, 2 Oct 2015 17:09:22 +0600 Subject: [PATCH] auto --- batiskaf/templates/jinja2/includes/category_filter.jinja | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/batiskaf/templates/jinja2/includes/category_filter.jinja b/batiskaf/templates/jinja2/includes/category_filter.jinja index 0d45a24..e8b32e0 100644 --- a/batiskaf/templates/jinja2/includes/category_filter.jinja +++ b/batiskaf/templates/jinja2/includes/category_filter.jinja @@ -71,7 +71,11 @@ {% if choise.pk.__str__() in request.GET.getlist('brand[]') %} checked="checked" {% endif %} - /> {{ choise }} + /> {% if choise.image %} + {{ choise.title }} + {% else %} + {{ choise.title }} + {% endif %} {% endfor %}