{{ document.date }}
{{ document.description|safe }} {% with project_part_list=document.project_parts.all size="small" %} {% if project_part_list %}
{% if project_part_list|length <= 4 %}
{% for pp in project_part_list %}{{ pp.get_simple_entry|safe }}
{% endfor %}
{% else %}
{% include "layout_elements/menu_project_parts.html" %}
{% endif %}
{% if participant_list|length <= 4 %}
{% for p in participant_list %}{{ p.get_simple_entry|safe }}
{% endfor %}
{% else %}
{% include "layout_elements/menu_participants.html" %}
{% endif %}
{% if event_list|length <= 4 %}
{% for e in event_list %}{{ e.get_simple_entry|safe }}
{% endfor %}
{% else %}
{% include "layout_elements/menu_events.html" %}
{% endif %}