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

Season Detail Page - {{ season.printable_title }}

THIS IS THE SKELETON SEASON LISTING PAGE FROM THE PBSMMAPI APP

Fields

FieldValue
Description (short) {{ season.description_short }}
Description (long) {{ season.description_long }}
Publicly Available? {{ season.is_publicly_available }}
Ordinal  {{ season.ordinal }}
Printable Title {{ season.printable_title }}
# Episodes {{ season.episode.count }}
Publish Status {{ season.show_publish_status }}
Show {{ season.show.title }}

Episodes

{% if season.episodes.count %} {% for episode in season.episodes.all %} {% endfor %}
Episode # Title Admin # Assets Publish Status
{{ season.ordinal|stringformat:"02d"}}{{ episode.ordinal|stringformat:"02d"}} {{ episode.title }} Admin  {{ episode.assets.all|length }} {{ episode.show_publish_status }}
{% else %}

There are no episodes

{% endif %}

SEASON ASSETS

{% if season.assets.count %}

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

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

Default Asset Player

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

There are no assets.

{% endif %}

IMAGES

Here are the images associated with the Show 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. {{ season.images }}

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 %} {{ season.pretty_image_list|safe }}
Canonical Image Type Override: {{ season.canonical_image_type_override }}
Canonical Image: {% endblock content %}