+++ /dev/null
-{% load url from future %}
-{% load i18n pybb_tags %}
-
-{% if category.forums_accessed|pybb_forum_unread:user|length > 0 %}
-<div class='category'>
- <table class="table category-table">
- <thead>
- <tr class="forum-row head-row">
- <th class="forum-name">
- {% trans "Forum" %}
- </th>
- <th class="forum-topic-count">
- {% trans "Topics" %}
- </th>
- <th class="forum-post-count">
- {% trans "Posts" %}
- </th>
- <th class="forum-last-post">
- {% trans "Last posts" %}
- </th>
- </tr>
- </thead>
- <tbody>
- {% for forum in category.forums_accessed|pybb_forum_unread:user %}
- <tr class="forum-row">
- <td class="forum-name {% if forum.unread %} forum-unread{% endif %}">
- <div class="state-indicator"></div>
- <a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a> {% if forum.hidden %}[{% trans "Hidden" %}]{% endif %}
- <div class="forum-description">
- {{ forum.description|safe }}
- </div>
- </td>
- <td class="forum-topic-count">
- {{ forum.topic_count }}
- </td>
- <td class="forum-post-count">
- {{ forum.post_count }}
- </td>
- <td class="forum-last-post">
- {% include "pybb/forum_last_update_info.html" %}
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
-</div>
-{% endif %}
\ No newline at end of file