From: Aleksander Ɓukasz Date: Tue, 10 Sep 2013 14:22:02 +0000 (+0200) Subject: Hide category names on forum index page X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/bd08a95d236d66b7e565260b8755bba9474d85a6?ds=sidebyside;hp=-c Hide category names on forum index page --- bd08a95d236d66b7e565260b8755bba9474d85a6 diff --git a/forum/templates/pybb/category.html b/forum/templates/pybb/category.html new file mode 100644 index 0000000..53c3c50 --- /dev/null +++ b/forum/templates/pybb/category.html @@ -0,0 +1,47 @@ +{% load url from future %} +{% load i18n pybb_tags %} + +{% if category.forums_accessed|pybb_forum_unread:user|length > 0 %} +
+ + + + + + + + + + + {% for forum in category.forums_accessed|pybb_forum_unread:user %} + + + + + + + {% endfor %} + +
+ {% trans "Forum" %} + + {% trans "Topics" %} + + {% trans "Posts" %} + + {% trans "Last posts" %} +
+
+ {{ forum.name }} {% if forum.hidden %}[{% trans "Hidden" %}]{% endif %} +
+ {{ forum.description|safe }} +
+
+ {{ forum.topic_count }} + + {{ forum.post_count }} + + {% include "pybb/forum_last_update_info.html" %} +
+
+{% endif %} \ No newline at end of file