diff --git a/aircox/templates/aircox/widgets/episode_header.html b/aircox/templates/aircox/widgets/episode_header.html new file mode 100644 index 0000000..da6a8af --- /dev/null +++ b/aircox/templates/aircox/widgets/episode_header.html @@ -0,0 +1,10 @@ +{% extends "aircox/widgets/header.html" %} + +{% block header-nav %} +{{ block.super }} +
+ + {{ object.program.display_title }} + +
+{% endblock %} diff --git a/aircox/templates/aircox/widgets/preview.html b/aircox/templates/aircox/widgets/preview.html new file mode 100644 index 0000000..88df426 --- /dev/null +++ b/aircox/templates/aircox/widgets/preview.html @@ -0,0 +1,39 @@ +{% load i18n %} + +{% block outer %} +
+{% block inner %} + {% block headings-container %} +
+ {% block headings %} +
+ {% block title %}{{ title|default:"" }}{% endblock %} +
+
+ {% block subtitle %}{{ subtitle|default:"" }}{% endblock %} +
+ {% endblock %} +
+ {% endblock %} + + {% block content-container %} +
+ {% block content %} + {% if content and with_content %} + {% autoescape off %} + {{ content|striptags|linebreaks }} + {% endautoescape %} + {% endif %} + {% endblock %} +
+ {% endblock %} + + {% block actions-container %} +
+ {% block actions %}{% endblock %} +
+ {% endblock %} +{% endblock %} +
+{% endblock %}