{% extends "base.html" %} {% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags %} {% block meta_title %}{% if page %}{{ page.richtextpage.meta_title }}{% else %}{% trans "Events" %}{% endif %}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if not forloop.first %}, {% endif %} {{ keyword }} {% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ page.description }} {% endmetablock %}{% endblock %} {% block title %} {% if page %} {% editable page.title %}{{ page.title }}{% endeditable %} {% else %} {% trans "Events" %} {% endif %} {% endblock %} {% block breadcrumb_menu %} {{ block.super }} {% if tag or location or year or month or author %}
{% if tag %} {% trans "Viewing events tagged" %} {{ tag }} {% else %}{% if location %} {% trans "Viewing events for the location" %} {{ location }} {% else %}{% if year or month %} {% trans "Viewing events from" %} {% if month %}{{ month }}, {% endif %} {{ year }} {% else %}{% if author %} {% trans "Viewing events by" %} {{ author.get_full_name|default:author.username }} {% endif %}{% endif %}{% endif %}{% endif %} {% endblock %}
{% else %} {% if page %} {% block event_list_pagecontent %} {% editable page.richtextpage.content %} {{ page.richtextpage.content|richtext_filters|safe }} {% endeditable %} {% endblock %} {% endif %} {% endif %} {% block event_calendar %}Subscribe to all events in Google Calendar/Outlook/iCal
{% endblock %} {% for event in events.object_list %} {% block event_list_event_title %} {% editable event.title %}{% trans "read more" %} {% if event.allow_comments %} / {% if settings.COMMENTS_DISQUS_SHORTNAME %} {% trans "Comments" %} {% else %} {% blocktrans count comments_count=event.comments_count %}{{ comments_count }} comment{% plural %}{{ comments_count }} comments{% endblocktrans %} {% endif %} {% endif %}