Deal with items that belong to no category

This commit is contained in:
Raphael Michel
2015-02-18 19:45:48 +01:00
parent fa405372b9
commit 03184bdbf2
3 changed files with 4 additions and 6 deletions

View File

@@ -35,7 +35,7 @@
{% csrf_token %}
{% for tup in items_by_category %}
<section>
<h3>{{ tup.0.name }}</h3>
{% if tup.0 %}<h3>{{ tup.0.name }}</h3>{% endif %}
{% for item in tup.1 %}
{% if item.has_variations %}
<div class="row-fluid product-row headline">