{% extends 'layout/base.html' %} {% from 'macros/datetime.html' import render_datetime_long %} {% from 'macros/icons.html' import render_icon %} {% from 'macros/user_avatar.html' import render_user_avatar_20_and_link %} {% set current_page = 'party.archive' %} {% set title = 'Party-Archiv' %} {% block head %} {%- endblock %} {% block body %}

{{ title }}

{%- for party in parties %}

{{ party.title }}

{%- with attendees = attendees_by_party_id[party.id]|sort(attribute='screen_name') %} {%- if attendees %}

{{ render_icon('users') }} Teilnehmer

    {%- for user in attendees -%} {%- if not user.deleted %}
  1. {{- render_user_avatar_20_and_link(user) -}}
  2. {%- endif %} {%- endfor %}
{%- endif %} {%- endwith %} {%- else %}

Es haben noch keine Partys stattgefunden.

{%- endfor %}
{%- endblock %}