{% extends 'forums/base.html' %} {% load bootstrap %} {% load restructuredtext %} {% block breadcrumb_items %} {{ block.super }} Forums {% endblock %} {% block pagetitle %}: Forums{% endblock pagetitle %} {% block content %}

Forums

{% if perms.forums.can_add_forum %} {% endif %}
{% for forum in object_list %}
{% if forum.meeting %} {% with context_colors=forum.meeting.context_colors %} {{ context_colors.message }} {% endwith %}
{% endif %} {{ forum|truncatechars:30 }} {% with nr_posts=forum.nr_posts %}{{ nr_posts }} post{{ nr_posts|pluralize }}{% endwith %}
{{ forum.description|restructuredtext }} {% if forum.child_forums.all|length > 0 %}

Descendants:

    {% for child in forum.child_forums.all %} {% include 'forums/forum_as_li.html' with forum=child %} {% endfor %}
{% endif %}
{% empty %}

No visible Forums found.

{% endfor %}

Latest postings

{% for forum in object_list %} {% empty %} {% endfor %}
Forum Latest post Posted on Nr posts
{{ forum }} {{ forum.latest_post }} {{ forum.latest_post.posted_on|date:"Y-m-d" }} {{ forum.nr_posts }}
No visible Posts found.
{% endblock content %}