|
|
@@ -33,7 +33,7 @@
|
|
33
|
33
|
{% if tree_categories %}
|
|
34
|
34
|
<li class="divider"></li>
|
|
35
|
35
|
{% for tree_category, info in tree_categories %}
|
|
36
|
|
- {% if info.children %}
|
|
|
36
|
+ {% if info.has_children %}
|
|
37
|
37
|
<li class="dropdown-submenu">
|
|
38
|
38
|
<a tabindex="-1" href="{{ tree_category.get_absolute_url }}">{{ tree_category.name }}</a>
|
|
39
|
39
|
<ul class="dropdown-menu">
|
|
|
@@ -41,7 +41,7 @@
|
|
41
|
41
|
<li><a tabindex="-1" href="{{ tree_category.get_absolute_url }}">{{ tree_category.name }}</a></li>
|
|
42
|
42
|
{% endif %}
|
|
43
|
43
|
|
|
44
|
|
- {% for close in info.close %}
|
|
|
44
|
+ {% for close in info.num_to_close %}
|
|
45
|
45
|
</ul></li>
|
|
46
|
46
|
{% endfor %}
|
|
47
|
47
|
{% endfor %}
|