{% load ams_filters %}{# keep this in sync with sessions_request_view_formset.html #} {% for sess in session_set %} Session {{ forloop.counter }}:
Length
{{ sess.requested_duration.total_seconds|display_duration }}
{% if sess.name %}
Name
{{ sess.name }}
{% endif %} {% if sess.purpose.slug != 'regular' %}
Purpose
{{ sess.purpose }} {% if sess.purpose.timeslot_types|length > 1 %}({{ sess.type }} ){% endif %}
{% endif %}
{% if group.features.acts_like_wg and forloop.counter == 2 and not is_virtual %} Time between sessions: {% if session.session_time_relation_display %}{{ session.session_time_relation_display }}{% else %}No preference{% endif %} {% endif %} {% endfor %}