Commits

Kyle Fuller committed 58ec5b9

forum: Don't show threads for a category

Comments (0)

Files changed (1)

lithium/forum/templates/forum/thread_list.html

 {% render_forum_list forum.children.all %}
 {% endif %}
 
+{% if not forum.is_category %}
 <h3>{% trans 'Threads' %} {% if not forum.is_category and can_create %}<a href="{{ forum.get_create_thread_url }}">(create)</a>{% endif %}</h3>
 <table>
     <tr>
     </tr>
   {% endfor %}
 </table>
+{% endif %}
 
 {% endblock %}