{% extends 'happenings/middle.html' %} {% load staticfiles i18n %} {% block content %}

{{ event.title }}

{{ event.description }}

{% if event.start_end_diff %} {% blocktrans with event_duration_days=event.start_end_diff %}This is a {{ event_duration_days }} day event.{% endblocktrans %}
{% endif %} {% if next_event %} {% blocktrans with repeat_lower=repeat|lower %}This event repeats {{ repeat_lower }}.{% endblocktrans %}

{{ _("Next event date:") }} {{ next_event|date:"SHORT_DATE_FORMAT" }} {{ event.start_date|time }} - {{ event.end_date|time }}{% if next_or_prev_cncl %} {{ _("(CANCELLED)") }}{% endif %} {% elif last_event %} {% blocktrans with repeat_lower=repeat|lower %}This was an event that repeated {{ repeat_lower }}.{% endblocktrans %}

{% blocktrans with last_event_date=last_event|date:"SHORT_DATE_FORMAT" %}The last event was on {{ last_event_date }}{% endblocktrans %}{% if next_or_prev_cncl %} {{ _("(CANCELLED)") }}{% endif %} {% else %}

{{ _("When:") }} {% if event_days %}

{% else %} {{ event.start_date|date:"SHORT_DATE_FORMAT" }} - {{ event.end_date|time }} {% if this_cncl %} {{ _("(CANCELLED)") }}{% endif %} {% endif %} {% endif %} ({{ _("today is:") }} {% now "SHORT_DATE_FORMAT" %})

{% if cncl_days %}

{{ _("This event has been cancelled on the following day(s):") }}

{% endif %} {% if event.location.all %}

{% blocktrans count counter=event.location.all.count %}Location:{% plural %}Locations:{% endblocktrans %}
{% for l in event.location.all %} {{ l.name }}
{% if l.address_line_1 %}{{ l.address_line_1 }}
{% endif %} {% if l.address_line_2 %}{{ l.address_line_2 }}
{% endif %} {% if l.address_line_3 %}{{ l.address_line_3 }}
{% endif %} {% if l.city %}{{ l.city }},{% endif %} {% if l.state %}{{ l.state }}{% endif %} {% if l.zipcode %}{{ l.zipcode }}
{% endif %} {% if l.country %}{{ l.country }}
{% endif %} {% endfor %}

{% endif %} {% if event.categories.all %} {% blocktrans count counter=event.categories.all.count %}Category:{% plural %}Categories:{% endblocktrans %} {% endif %} {% if event.tags.all %} {% blocktrans count counter=event.tags.all.count %}Tag:{% plural %}Tags:{% endblocktrans %} {% endif %} {% endblock content %}