DotaNoobs main site.
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.
 
 
 
 

18 lines
890 B

{% if active_events %}
<h1 class="uk-panel-title">Active Events</h1>
<dl class="uk-description-list uk-description-list-line">
{% for event in active_events %}
<dt><a href="{{ url_for('show_event', eventid=event.id) }}">{{ event.name }}</a> {{ event.type | event_badge | safe }}</dt>
<dd> Ends at <span class="date">{{ event.start_time | js_datetime }}</span> </dd>
{% endfor %}
</dl>
{% endif %}
{% if upcoming_events %}
<h1 class="uk-panel-title">Upcoming Events</h1>
<dl class="uk-description-list uk-description-list-line">
{% for event in upcoming_events %}
<dt><a href="{{ url_for('show_event', eventid=event.id) }}">{{ event.name }}</a> {{ event.type | event_badge | safe }}</dt>
<dd> Starts at <span class="date">{{ event.start_time | js_datetime }}</span> </dd>
{% endfor %}
</dl>
{% endif %}