From bd08a95d236d66b7e565260b8755bba9474d85a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 10 Sep 2013 16:22:02 +0200 Subject: [PATCH] Hide category names on forum index page --- forum/templates/pybb/category.html | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 forum/templates/pybb/category.html 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 -- 2.20.1