{% extends "coderedcms/pages/web_page.html" %} {% load wagtailadmin_tags wagtailcore_tags wagtailimages_tags coderedcms_tags %} {% block content_pre_body %} {{ block.super }} {% with self.most_recent_occurrence as nextup %}

When: {{nextup.0}}

{% if self.address %}

Where: {{self.address}}

{% endif %}
{% include "coderedcms/includes/ical/single_ical_button.html" with event=self start=nextup.0 end=nextup.1 %}

{% endwith %} {% endblock %} {% block content_post_body %} {% block map %} {% if page.address %}
{% include "coderedcms/includes/iframe_gmap.html" with address=page.address %}
{% endif %} {% endblock %} {% block upcoming_dates %} {% if self.upcoming_occurrences|length > 1 %}

Upcoming Dates

{% for date in self.upcoming_occurrences %} {% endfor %}
Start Time End Time Actions
{{date.0}} {% if date.0 != date.1 %}{{date.1}}{% endif %} {% include "coderedcms/includes/ical/single_ical_button.html" with event=self start=date.0 end=date.1 %}
{% block ical %} {% include "coderedcms/includes/ical/recurring_ical_button.html" with event=self %} {% endblock %}
{% endif %} {% endblock %} {% endblock %} {% block struct_seo_extra %} {{ block.super }} {% if settings.wagtailseo.SeoSettings.struct_meta %} {% endif %} {% endblock %}