diff --git a/event/templates/event/calendar.html b/event/templates/event/calendar.html index dfdb867..db2dd26 100644 --- a/event/templates/event/calendar.html +++ b/event/templates/event/calendar.html @@ -35,24 +35,28 @@ {% for activity in day.list %}
{{ activity.id }} - {{ activity.title }} + {{ activity|get_herited:'title' }} {{ activity.beginning | date:"j/m/Y H:i" }} {{ activity.end | date:"j/m/Y H:i" }} - {{ activity.places.all | join:", " }} + {% with activity|get_herited:'places' as places %} + {{ places.all | join:", " }} + {% endwith %} {{ activity.description }} {% url "event:activity" activity.id %} {% if activity.has_perm %} 1 - {{ activity.min_perm }} - {{ activity.max_perm }} + {{ activity|get_herited:'min_perm' }} + {{ activity|get_herited:'max_perm' }} {{ activity.staff.count }} {% is_enrolled activity request.user %} {% endif %} - {% for tag in activity.tags.all %} + {% with activity|get_herited:'tags' as tags %} + {% for tag in tags.all %} {{ tag.name }} {% endfor %} + {% endwith %}
{% endfor %} {% endfor %}