{% for survey in surveys %}
{% if survey.course %}
-
{{ survey.course.title }}
{% if survey.session %}
({{ survey.session.name }})
{% endif %}
{% endif %}
-
{{ 'FromDateXToDateY'|get_lang|format(survey.avail_from|api_convert_and_format_date(2), survey.avail_till|api_convert_and_format_date(2)) }}
{% else %}
{{ 'NoPendingSurveys'|get_lang }}
{% endfor %}