{% load i18n %} {% comment %} Renders one node of the address tree. node = { name, url, kind: 'group'|'category'|'leaf', ip_ref: {str,url}|None, children: [...] } depth = current nesting depth (0 = top-level) prefix = 'src' or 'dst' (for unique HTML IDs) forloop_counter = parent forloop.counter (for unique IDs) {% endcomment %} {% if node.kind == "category" %} {% if node.count == 0 and not node.children %}
{% else %}