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

11 years ago
  1. {% if active_events %}
  2. <h1 class="uk-panel-title">Active Events</h1>
  3. <dl class="uk-description-list uk-description-list-line">
  4. {% for event in active_events %}
  5. <dt><a href="{{ url_for('show_event', eventid=event.id) }}">{{ event.name }}</a> {{ event.type | event_badge | safe }}</dt>
  6. <dd> Ends at <span class="date">{{ event.start_time | js_datetime }}</span> </dd>
  7. {% endfor %}
  8. </dl>
  9. {% endif %}
  10. {% if upcoming_events %}
  11. <h1 class="uk-panel-title">Upcoming Events</h1>
  12. <dl class="uk-description-list uk-description-list-line">
  13. {% for event in upcoming_events %}
  14. <dt><a href="{{ url_for('show_event', eventid=event.id) }}">{{ event.name }}</a> {{ event.type | event_badge | safe }}</dt>
  15. <dd> Starts at <span class="date">{{ event.start_time | js_datetime }}</span> </dd>
  16. {% endfor %}
  17. </dl>
  18. {% endif %}