# HG changeset patch # User neko259 # Date 2015-09-30 07:45:26 # Node ID fce14c9c0385e183467c129137f32ed6e8b82db1 # Parent 6df9b2a53bdb3267a7e2045e83bc4662e31ae350 Don't show tag children, only a parent diff --git a/boards/templates/boards/all_threads.html b/boards/templates/boards/all_threads.html --- a/boards/templates/boards/all_threads.html +++ b/boards/templates/boards/all_threads.html @@ -73,22 +73,14 @@

{{ tag.get_description|safe }}

{% endif %}

{% blocktrans with active_thread_count=tag.get_active_thread_count thread_count=tag.get_thread_count post_count=tag.get_post_count %}This tag has {{ thread_count }} threads ({{ active_thread_count}} active) and {{ post_count }} posts.{% endblocktrans %}

- {% with children=tag.get_children.all %} - {% if tag.get_parent or children %} -

+ {% if tag.get_parent %} +

{% if tag.get_parent %} {{ tag.get_parent.get_view|safe }} / {% endif %} - {{ tag.get_view|safe }} - {% if children %} - / - {% for child in children %} - {{ child.get_view|safe }}{% if not forloop.last %}, {% endif %} - {% endfor %} - {% endif %} -

- {% endif %} - {% endwith %} + {{ tag.get_view|safe }} +

+ {% endif %} {% endif %}