{% extends "forum/_base.html" %} {% from "macros/box.html" import m_box_menu, m_box_content %} {%from "forum/_macros.html" import forum_menu %} {% block forumcontent %} {% call m_box_content(_("Archives")) %} {%- block forumsidebar %}
{%- set global_actions = actions.for_category('forum:global') %} {%- for action in global_actions %} {{ forum_menu(action) }} {%- endfor %}
{%- endblock %} {% for month, threads in grouped_threads %}

{{ month }}

{% else %}

{{ _("No message has been posted to this community yet") }}

{% endfor %} {% endcall %} {% endblock %} {% macro m_thread(thread) %} {%- set thread_href = url_for(".thread", thread_id=thread.id, community_id=g.community.slug) %} {%- set thread_length = thread.posts|length %}
  • {{ thread.title }} {%- if thread_length > 1 %} ( {{ thread_length-1 }}) {%- endif %}
  • {% endmacro %}