{% extends 'forums/base.html' %} {% load bootstrap %} {% load guardian_tags %} {% load automarkup %} {% load scipost_extras %} {% block breadcrumb_items %} {{ block.super }} {% if forum.meeting %} Meeting {% else %} Forum {% endif %} Details {% endblock %} {% block pagetitle %} : {% if forum.meeting %} Meeting {% else %} Forum {% endif %} details {% endblock pagetitle %} {% block content %} {% get_obj_perms request.user for forum as "forum_user_perms" %}

{% if forum.meeting %} {% with context_colors=forum.meeting.context_colors %} {{ context_colors.message }}  [{{ forum.meeting.date_from|date:"Y-m-d" }} to {{ forum.meeting.date_until|date:"Y-m-d" }}] {% endwith %}
{% endif %} {{ forum }} {{ forum.cf_nr_posts }} post{{ forum.cf_nr_posts|pluralize }}

{% if forum.parent %}

Parent: {{ forum.parent }}

{% endif %} {% if forum.child_forums.all|length > 0 %}

Descendants: {% for child in forum.child_forums.all %} {{ child }} {% if not forloop.last %},{% endif %} {% endfor %}

{% endif %} {% if "can_administer_forum" in forum_user_perms %}

Admin actions:

{% if "can_administer_forum" in forum_user_perms %}
Permissions on this {% if forum.meeting %} Meeting {% else %} Forum {% endif %} instance (view/manage)
{% endif %}
{% endif %}

Table of Contents

Description

{% automarkup forum.description %}
{% if forum.meeting %}

Preamble

{% automarkup forum.meeting.preamble %}

Motions

{% for motion in forum.motions.all %}
{% endfor %}
{% endif %}

Posts

{% if not forum.meeting or forum.meeting.ongoing %} {% endif %} {% for post in forum.posts.motions_excluded %}
{% endfor %}
{% if forum.meeting %}

Minutes

{% automarkup forum.meeting.minutes %}
{% endif %} {% endblock content %} {% block footer_script %} {% endblock %}