{% extends "arkestra/generic_list_item.html" %} {% spaceless %} {% block item_title %} {# this item is the child of a series that shows the parent's title #} {% if "series" in item.show_parent_series %} {# the series is informative, so link to it #} {% if not item.parent.is_uninformative %} )({{item.parent.short_title}}
{% else %} {{item.parent.short_title}}
{% endif %} {# it should show its own title too #} {% if "children" in item.show_parent_series %} {% if "details" in everything.format and item.is_uninformative %} {{ item.short_title }} {% else %} {% if item.external_url %} {{item.short_title}} - {{ item.external_url.external_site }} {% else %} sd {{item.short_title}} {% endif %} {% endif %} {% endif %} {# either not a child of a series, or we don't display the parent's title #} {% else %} {% with class="title" %} {% if item.external_url %} sd {{item.short_title}} - {{ item.external_url.external_site }} {% else %} {% if item.parent.series and not item.parent.is_uninformative %} sd {{item.short_title}} {% else %} {% if not "details" in lister.item_format or not item.is_uninformative %} sd {{item.short_title}} {% else %} {{ item.short_title }} {% endif %} {% endif %} {% endif %} {% endwith %} {% endif %} {% endblock item_title %} {% block item_date %}
{{ item.get_dates }}{% if item.get_times %}, {{ item.get_times|safe }}{% endif %}
{% endblock item_date %} {% block item_details %} {{ block.super }}{% if not list.place %}{% if item.building %}
Venue: {{ item.building.identifier }}
{% endif %}{% endif %}{% endblock item_details%} {% block item_summary %}{% if item.summary %}
{{ item.calculated_summary }}
{% endif %}{% endblock item_summary %} {% endspaceless %}