Fix the structure of the HTML of the generated events.

This commit is contained in:
Daru13 2018-11-22 22:43:18 +01:00
parent 12534ff2da
commit 74eaf82575

View file

@ -33,7 +33,7 @@
<div class="content fluid" id="cal-container"> <div class="content fluid" id="cal-container">
{% for day in days_list %} {% for day in days_list %}
{% for activity in day.list %} {% for activity in day.list %}
<div class="{% cycle "" "inverted" %} cal-event"> <div class="cal-event">
<span class="cal-event-id">{{ activity.id }}</span> <span class="cal-event-id">{{ activity.id }}</span>
<span class="cal-event-name">{{ activity.title }}</span> <span class="cal-event-name">{{ activity.title }}</span>
<span class="cal-event-start-date">{{ activity.beginning | date:"j/m/Y H:i" }}</span> <span class="cal-event-start-date">{{ activity.beginning | date:"j/m/Y H:i" }}</span>
@ -55,7 +55,6 @@
{% endfor %} {% endfor %}
</div> </div>
{% endfor %} {% endfor %}
</div>
{% endfor %} {% endfor %}
</div> </div>
{% endblock %} {% endblock %}