camp/content/templates/event.html

27 lines
822 B
HTML
Raw Permalink Normal View History

2017-08-03 17:44:00 +00:00
{% extends 'base.html' %}
2023-08-09 09:45:13 +00:00
{% block head %}
{% include "content-header.html" %}
{% endblock %}
2017-08-03 17:44:00 +00:00
{% 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-08-21 10:43:37 +00:00
<a href="/events/index/">All Events</a>
<br>
<br>
2017-12-18 12:54:04 +00:00
</div>
</div>
{% endblock %}