{% load i18n leprikon_tags sekizai_tags thumbnail %}
{% trans 'Start' %}: {{ object.start_date }}{% if objec.start_time %}, {{ objec.start_time }}{% endif %}
{% if object.start_date != object.end_date or objec.end_time %}
{% trans 'End' %}:
{% if object.start_date != object.end_date %}
{{ object.end_date }}{% if objec.end_time %}, {{ objec.end_time }}{% endif %}
{% else %}
{{ objec.end_time }}
{% endif %}
{% endif %}
{% if object.place %}
{% trans 'Place' %}: {{ object.place }}
{% endif %}
{% if object.all_times %}{% trans 'Time' %}: {{ object.all_times | comma_separated }}{% endif %}
{% if object.all_times and object.place %}
{% endif %}
{% if object.place %}{% trans 'Place' %}: {{ object.place }}{% endif %}
{% if object.all_age_groups|length > 1 %}{% trans 'Age groups' %}{% else %}{% trans 'Age group' %}{% endif %}: {{ object.all_age_groups|comma_separated }}
{% endif %} {% if object.all_target_groups %}{% if object.all_target_groups|length > 1 %}{% trans 'Target groups' %}{% else %}{% trans 'Target group' %}{% endif %}: {{ object.all_target_groups|comma_separated }}
{% endif %} {% if object.all_leaders %}{% blocktrans count counter=object.all_leaders|length %}Led by{% plural %}Led by{% endblocktrans %} {{ object.get_leaders_list }}
{% endif %} {% if object.subject_type.all_attachments or object.all_attachments %}{% trans 'Attachments' %}: {% for attachment in object.subject_type.all_attachments %} {{ attachment.file }} {% endfor %} {% for attachment in object.all_attachments %} {{ attachment.file }} {% endfor %}
{% endif %} {% if object.page %}{% trans 'More information' %}: {{ object.page.get_title }}
{% endif %}{% registration_links object %}
{% if request.user.is_staff or request.leader in object.all_leaders %} {% endif %}