blob: 0b1bb0a7070008144ffb1682958273ac5bfcabe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% load i18n mptt_tags %}
{% for nodetype, structure in nodetypes|tree_info %}
{% if structure.new_level %}
<ul>
<li>{% else %}</li>
<li>{% endif %}
<a href="{{ nodetype.get_absolute_url }}" title="{{ nodetype.title }}">{{ nodetype.title }}</a>
{% for level in structure.closed_levels %}
</li>
</ul>{% endfor %}
{% empty %}
<ul>
<li>
{% trans "No subtypes yet." %}
</li>
</ul>
{% endfor %}
|