{% extends "base.html" %} {% load cms_tags sekizai_tags staticfiles pbsmm_tags %} {% block content %}

Special Detail Page - {{ special.title }}

THIS IS THE SPECIAL DETAIL PAGE FROM THE PBSMMAPI APP

Fields

FieldValue
Description (short) {{ special.description_short }}
Description (long) {{ special.description_long }}
Publicly Available? {{ special.is_publicly_available }}
Language {{ special.language }}
NOLA {{ special.nola }}
Premiered On {{ special.premiered_on }}
Publish Status {{ special.show_publish_status }}
Short Premiere Date {{ special.short_premiere_date }}
Show {{ special.show.slug }}
Title {{ special.title }}

SPECIAL ASSETS

{% if special.assets.count %}

The highlighted on is the one that would appear as the default "special.default_asset". It can be changed in the SpecialAsset admin by changing the "OVERRIDE DEFAILT ASSET" to "yes".

{% for asset in special.assets.all %} {% endfor %}
TitleTypeDurationAdmin
{{ asset.title }} {{ asset.object_type }} {{ asset.formatted_duration }} Admin

Default Asset Player

{{ special.default_asset.player_code }}
{{ special.default_asset.player_code|safe }}
{% else %}

There are no assets.

{% endif %}

IMAGES

{% if not special.images %} No images? {% else %} Images: {{ special.images }}

Here are the images associated with the Special I need to create a template tag that can read the stored JSON and return things. But there are also properties for getting the canonical image.

Image List

{% comment %} I'm being lazy and just spitting out the table I made for the admin. It has been a long day.{% endcomment %} {{ special.pretty_image_list|safe }}
Canonical Image Type Override: {{ special.canonical_image_type_override }}
Canonical Image: {% endif %} {% endblock content %}