{% extends "shared/fluid.html" %} {% load i18n staticfiles event_tags %} {% block extra_css %} {{ block.super }} {% endblock %} {% block extra_js %} {{ block.super }} {% endblock %} {% block content %}
{% csrf_token %} {% regroup activities by beginning|date:"Y-m-d" as days_list %}
{% for day in days_list %} {% for activity in day.list %}
{{ activity.id }} {{ activity|get_herited:'title' }} {{ activity.beginning | date:"j/m/Y H:i" }} {{ activity.end | date:"j/m/Y H:i" }} {% with activity|get_herited:'places' as places %} {{ places.all | join:", " }} {% endwith %} {{ activity.description }} {% url "event:activity" activity.id %} {% if activity.has_perm %} 1 {{ activity|get_herited:'min_perm' }} {{ activity|get_herited:'max_perm' }} {{ activity.staff.count }} {% is_enrolled activity request.user %} {% endif %} {% with activity|get_herited:'tags' as tags %} {% for tag in tags.all %} {{ tag.name }} {% endfor %} {% endwith %}
{% endfor %} {% endfor %}
{% endblock %}