{% if enrolled_user.course.end_date %}
{{enrolled_user.course.begin_date|date:"Y-m-d"}} ({{enrolled_user.course.end_date|date:"Y-m-d"}})
{% elif enrolled_user.course.begin_date %}
{{enrolled_user.course.begin_date|date:"Y-m-d"}}
{% else %}
-
{% endif %}
