camp/content/templates/event.html

23 lines
711 B
HTML
Raw Normal View History

2017-08-03 17:44:00 +00:00
{% extends 'base.html' %}
{% block content %}
2017-12-18 12:54:04 +00:00
{% include "featured.html" %}
2017-08-03 17:44:00 +00:00
<div class="large-4 medium-4 columns">
2017-12-18 12:54:04 +00:00
{% if upcoming_events.exists %}
2017-08-03 17:44:00 +00:00
<h4 class="sidebar-h4"> Upcoming Events </h4>
2017-12-18 12:54:04 +00:00
{% include "event_preview.html" with events=upcoming_events %}
{% endif %}
{% if ongoing_events.exists %}
<h4 class="sidebar-h4"> Ongoing Events </h4>
{% include "event_preview.html" with events=ongoing_events %}
{% endif %}
{% if past_events.exists %}
<h4 class="sidebar-h4"> Past Events </h4>
{% include "event_preview.html" with events=past_events %}
{% endif %}
2018-01-01 13:31:30 +00:00
<a href="index/">more</a>
2017-12-18 12:54:04 +00:00
</div>
</div>
{% endblock %}