{% extends "coderedcms/pages/web_page.html" %} {% load wagtailadmin_tags wagtailcore_tags wagtailimages_tags coderedcms_tags %} {% if settings.coderedcms.SeoSettings.twitter_meta %} {% block twitter_card %}{% if self.cover_image %}summary_large_image{% else %}{{block.super}}{% endif %}{% endblock %} {% endif %} {% 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 %}
{% include 'coderedcms/includes/iframe_gmap.html' with address=page.address %}
{% 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 %} {% if settings.coderedcms.SeoSettings.struct_meta %} {% block struct_seo_extra %} {% endblock %} {% endif %}