parent
25eb8fa23e
commit
fb62dffa5c
|
@ -141,10 +141,10 @@
|
|||
<h3>Agenda</h3>
|
||||
|
||||
{% for event in events if event.as_date >= two_weeks_ago %}
|
||||
{% if loop.first or event.date.year != loop.previtem.date.year %}
|
||||
{% if loop.first or event.date.year != loop.previtem.date.year or event.date.month != loop.previtem.date.month %}
|
||||
<div class="row mt-2">
|
||||
<div class="col">
|
||||
<h5>{{ event.date.year }}</h5>
|
||||
<h4>{{ event.date.strftime("%B %Y") }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue