diff --git a/radio/apps/programmes/templates/programmes/episode_detail.html b/radio/apps/programmes/templates/programmes/episode_detail.html index b966aa4..fb3f93a 100755 --- a/radio/apps/programmes/templates/programmes/episode_detail.html +++ b/radio/apps/programmes/templates/programmes/episode_detail.html @@ -17,7 +17,8 @@

{% firstof episode.title|upper episode|upper %}

-

{{ episode.summary|safe }}

+ +

{% firstof episode.summary|safe episode.programme.synopsis|safe '' %}

{% trans "Podcast" %}

diff --git a/radio/apps/programmes/templates/programmes/programme_detail.html b/radio/apps/programmes/templates/programmes/programme_detail.html index b22af4c..4bc6f22 100755 --- a/radio/apps/programmes/templates/programmes/programme_detail.html +++ b/radio/apps/programmes/templates/programmes/programme_detail.html @@ -42,24 +42,25 @@

{% trans 'Programme Details' %}

{% endif %}
+ {% if episode_list %} +
+
+

{% trans 'Episodes' %}

+ {% for episode in episode_list %} + + {% ifchanged episode.season %} + {% if not forloop.first %}
{% endif %} +
+

{% trans "Season" %} {{episode.season}}

+
+ {% endifchanged %} +

{{ episode }}

+ {% if forloop.last %}
{% endif %} -
-
-

{% trans 'Episodes' %}

- {% for episode in episode_list %} - - {% ifchanged episode.season %} - {% if not forloop.first %}
{% endif %} -
-

{% trans "Season" %} {{episode.season}}

-
- {% endifchanged %} -

{{ episode }}

- {% if forloop.last %}
{% endif %} - - {% endfor %} + {% endfor %} +
- + {% endif %} {% if role_list %}
diff --git a/radio/apps/radio/templates/radio/index.html b/radio/apps/radio/templates/radio/index.html index 58f1ee8..7d7b419 100755 --- a/radio/apps/radio/templates/radio/index.html +++ b/radio/apps/radio/templates/radio/index.html @@ -126,7 +126,7 @@

{% trans 'More About Us.' %}

{% trans 'Latest Episodes' %}

{% for episode in latest_episodes %} -

{{ episode.title }}

+

{% firstof episode.title|title episode|title %}

{% empty %}

{% trans "There are currently no podcast" %}

{% endfor %}