You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
521 B
19 lines
521 B
1 year ago
|
{% macro list(page,this) %}
|
||
|
<div class="list">
|
||
|
{% set timerpresent = namespace(v="False") %}
|
||
|
{% for child in page %}
|
||
|
{% if child.start_date < today and timerpresent.v == "False" %}
|
||
|
{% set timerpresent.v = True %}
|
||
|
<br>
|
||
|
<br>
|
||
|
{% endif %}
|
||
|
<a href="{{ child|url }}" {% if child == this %} class="active"{% endif %}>
|
||
|
<span><bold>{{child.start_date|datetimeformat('yyyy/MM/dd H:mm')}} </bold>
|
||
|
{{ child.title }} @
|
||
|
{{ child.location}}
|
||
|
</span>
|
||
|
</a>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endmacro %}
|