{% extends "community/_base.html" %} {% from "macros/box.html" import m_box_menu, m_box_content %} {% from "forum/macros.html" import m_postattachments %} {% block content %} {% call m_box_content(_("Recent conversations attachments")) %} {% for month, posts in grouped_posts %}

{{ month }}

{% else %}

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

{% endfor %} {% endcall %} {% endblock %} {% block sidebar %} {% call m_box_menu() %} {% 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 }}) {%- for post in thread.posts %} {{ m_postattachments(post) }} {%- endfor %} {%- endif %}
  • {% endmacro %}