{% extends "cranefly/layout.html" %} {% import "forms.html" as form_theme with context %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=_("Private Threads"),page=pagination['page']) }}{% endblock %} {% block breadcrumb %}{{ super() }}
  • {% trans %}Private Threads{% endtrans %} {%- endblock %} {% block container %}
    {% if message %}
    {{ macros.draw_message(message) }}
    {% endif %}
    {{ pager() }} {% if acl.threads.can_start_threads(forum) %} {% trans %}New Thread{% endtrans %} {% endif %}
    {% if threads %} {% if list_form %}
    {% set list_form_context = list_form.list_action.field.widget.get_context(list_form.list_action.html_name, list_form.list_action.value()) %} {% if list_form_context['optgroups'][0][1]|length > 1 %} {{ form_theme.field(list_form.list_action, attrs={'class': 'span3'}) }} {% else %} {% endif %}
    {% endif %} {% else %}
    {% trans %}You are not participating in any private discussions.{% endtrans %}
    {% endif %}
    {{ pager() }} {% if acl.threads.can_start_threads(forum) %} {% trans %}New Thread{% endtrans %} {% endif %}
    {% endblock %} {% macro pager() %} {% if pagination['total'] > 0 %} {% endif %} {% endmacro %} {% block javascripts -%} {{ super() }} {%- if list_form %} {% endif %} {%- endblock %}