summaryrefslogtreecommitdiff
path: root/build/lib.linux-i686-2.6/gstudio/templates/gstudio/tags/nodetypes.html
blob: 722c201e5146f8bba8398fd6281a9521eb1bc739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% 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> 
    {% blocktrans count nodetypes.gbobjects_published.count as gbobjects_count %}{{ gbobjects_count }} gbobject{% plural %}{{ gbobjects_count }} gbobjects{% endblocktrans %}

  {% empty %}
<ul>
  <li>
    {% trans "No subtypes yet." %}
  </li>
</ul>
{% endfor %}