diff --git a/events/templates/events/event.html b/events/templates/events/event.html index 2e12f1cf..5ee0673f 100644 --- a/events/templates/events/event.html +++ b/events/templates/events/event.html @@ -1,30 +1,30 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load tz %} {% load static wagtailcore_tags %} -{% block body_class %}template-event{% endblock %} +{% block body_class %} + template-event +{% endblock %} -{% block title %}{{ page.title }}{% endblock %} +{% block title %} + {{ page.title }} +{% endblock %} {% block content %} - - Events - + Events
{% if event.start_date %} - {{ event.start_date | timezone:"US/Pacific" | date:"F d, Y, f A" }} + {{ event.start_date|timezone:'US/Pacific'|date:'F d, Y, f A' }} {% endif %} {% if event.end_date %} - - {{ event.end_date | timezone:"US/Pacific" | date:"F d, Y, f A" }} - {% endif %} - - US/Pacific + {{ event.end_date|timezone:'US/Pacific'|date:'F d, Y, f A' }} + {% endif %}US/Pacific
{% if event.sponsors.all %} @@ -32,8 +32,7 @@