{% extends 'spectator_events/base.html' %} {% comment %} Displays a single Movie, Play, ClassicalWork or DancePiece. As well as `object`, expects: * breadcrumb_list_title - Text for linking to the parent list view. * breadcrumb_list_url - URL for linking to the parent list view. {% endcomment %} {% load l10n %} {% block head_page_title %} {% if work.kind == 'movie' and work.year %} {{ work.title }} ({{ work.year|unlocalize }}) {% else %} {{ work.title }} {% endif %} {% endblock %} {% block content_title %} {% if work.kind == 'movie' and work.year %} {{ work.title }} ({{ work.year|unlocalize }}) {% else %} {{ work.title }} {% endif %} {% endblock %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block content %} {% if work.kind != 'movie' and work.year %}

Year: {{ work.year|unlocalize }}

{% endif %} {% if work.imdb_id %}

View at IMDb

{% endif %} {% include 'spectator_core/includes/roles_list.html' with roles=work.roles.all heading='By' only %} {% include 'spectator_events/includes/visits.html' with events=work.event_set.all heading_level='h2' only %} {% endblock content %} {% block sidebar_nav %} {% load spectator_core %} {% change_object_link_card work perms %} {{ block.super }} {% endblock sidebar_nav %}