{% extends "cms/home.html" %} {% load cms_tags danceschool_tags sekizai_tags thumbnail i18n %} {% block title %} {% blocktrans with month=seriesset.0.month|readable_month year=seriesset.0.year title=seriesset.0.classDescription.title %} {{ month }} {{ year }} Class Series - {{ title }} {% endblocktrans %} {% endblock %} {% block meta_title %} {% blocktrans with month=seriesset.0.month|readable_month year=seriesset.0.year title=seriesset.0.classDescription.title %} {{ month }} {{ year }} Class Series - {{ title }} {% endblocktrans %} {% endblock %} {% block meta_description %} {% blocktrans with month=seriesset.0.month|readable_month year=seriesset.0.year title=seriesset.0.classDescription.title startDate=seriesset.0.startTime|date:'l, F jS' location=seriesset.0.location %} Learn more through our {{ month }} {{ year }} class, {{ title }}. Classes begin {{ startDate }} at {{ location }}. {% endblocktrans %} {% endblock %} {% block facebook_og_description %} {% blocktrans with month=seriesset.0.month|readable_month year=seriesset.0.year title=seriesset.0.classDescription.title startDate=seriesset.0.startTime|date:'l, F jS' location=seriesset.0.location %} Learn more through our {{ month }} {{ year }} class, {{ title }}. Classes begin {{ startDate }} at {{ location }}. {% endblocktrans %} {% endblock %} {% block body_id %}classes{% endblock %} {% block content %}

{% blocktrans with month=seriesset.0.month|readable_month year=seriesset.0.year title=seriesset.0.classDescription.title %} {{ month }} {{ year }}: {{ title }} {% endblocktrans %}

{% for series in seriesset %}
{% for teacher in series.teachers %} {% if teacher.image %} {{teacher.firstName}} {{teacher.lastName}} {% endif %} {% endfor %}
{% if not series.soldOut and not series.registrationClosed %} {% trans "Register for this class!" %} {% elif series.soldOut %} {% trans "Sold out!" %} {% else %} {% trans "Registration closed!" %} {% endif %} {% if 'core.change_series' in perms or 'core.view_registration_summary' in perms %}
{% if 'core.change_series' in perms %} {% trans "Edit Class Details" %} {% endif %} {% if 'core.view_registration_summary' in perms %} {% trans "View Registrations" %} {% endif %}
{% endif %}

{% blocktrans with weekday=series.startTime|date:'l' startTime=series.startTime|date:'h:i A' location=series.location startDate=series.startTime|date:'F jS' %} {{ weekday }}s, {{ startTime }} at {{ location }}, Beginning {{ startDate }} {% endblocktrans %}

{% if series.teachers %}

{% trans "with" %} {% for teacher in series.teachers %} {{ teacher.firstName }} {{ teacher.lastName }}{% if not forloop.last %} {% trans "and" %} {% endif %} {% endfor %}

{% endif %}

{% trans "Class Schedule" %}:
{% for class in series.eventoccurrence_set.all %} {{ class.startTime|date:'F j, h:i' }} - {{ class.endTime|date:'h:i A' }}
{% endfor %}

{{ series.location.name }}{% if series.room.name %} - {{ series.room.name }}{% endif %}
{{ series.location.address }}
{{ series.location.city }}, {{ series.location.state }} {{ series.location.zip }}
{% trans "More Info" %}

{% if series.pricingTier.id != default_pricingtier_id %}

{% trans "Pricing" %}:  {{ series.pricingTier.name }}

{% endif %}

{% endfor %}

{% trans "Class Description" %}

{% render_model seriesset.0.classDescription "description" "" "" "safe" %}

{% addtoblock "js" %} {% endaddtoblock %} {% endblock %}