Commit 7f897ace authored by Ciella Francisco's avatar Ciella Francisco 😵

Bugfix: looped twice, repeating the display of events

parent 5f3978fc
......@@ -5,13 +5,11 @@
<ul>
{% for event in object_list %}
<ul>
{% for event_fields in object_list %}
<div class="center-cropped"
style="background-image: url({{event_fields.event_header.url}});"></div>
style="background-image: url({{event.event_header.url}});"></div>
</div>
<a href="{{ event.get_absolute_url }}">{{ event.event_name }}</a>
<li>{{event_fields.event_organizer}}</li>
{% endfor %}
<li>{{event.event_organizer}}</li>
</ul>
{% endfor %}
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment