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

Episode Detail Page - {{ episode.title }}

THIS IS THE SKELETON EPISODE DETAIL PAGE FROM THE PBSMMAPI APP

Fields

FieldValue
Description (short) {{ episode.description_short }}
Description (long) {{ episode.description_long }}
Funder Message {{ episode.funder_message }}
Publicly Available? {{ episode.is_publicly_available }}
NOLA {{ episode.nola }}
Ordinal {{ episode.ordinal }}
Premiered On {{ episode.premiered_on }}
Publish Status {{ episode.show_publish_status }}
Season {{ episode.season.printable_title }}
Segment {{ episode.segment }}
Short Episode Code {{ episode.short_episode_code }}
Slug {{ episode.slug }}
Title {{ episode.title }}

EPISODE ASSETS

{% if episode.assets.count %}

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

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

Default Asset Player

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

There are no assets.

{% endif %}

IMAGES

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

Here are the images associated with the Episode 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 %} {{ episode.pretty_image_list|safe }}
Canonical Image Type Override: {{ episode.canonical_image_type_override }}
Canonical Image: {% endif %} {% endblock content %}