# HG changeset patch # User Brian Neal # Date 1462327095 18000 # Node ID aa43db10c565fb224ecb5945ef585f3a563324ea # Parent 16e190fa6ef86c16d536058eaf10a9efbc666a70 Convert podcast app to V3 design. diff -r 16e190fa6ef8 -r aa43db10c565 podcast/views.py --- a/podcast/views.py Mon May 02 20:03:18 2016 -0500 +++ b/podcast/views.py Tue May 03 20:58:15 2016 -0500 @@ -62,11 +62,12 @@ return render(request, 'podcast/index.html', { 'channel': channel, + 'V3_DESIGN': True, }) def detail(request, id): - podcast = get_object_or_404(Item.objects.select_related(), pk = id) + podcast = get_object_or_404(Item.objects.select_related(), pk=id) ext = get_ext_from_url(podcast.enclosure_url) alt_ext = None @@ -83,6 +84,7 @@ 'alt_ext': alt_ext, 'jplayer_media': jplayer_media, 'jplayer_supplied': jplayer_supplied, + 'V3_DESIGN': True, }) diff -r 16e190fa6ef8 -r aa43db10c565 sg101/templates/podcast/base.html --- a/sg101/templates/podcast/base.html Mon May 02 20:03:18 2016 -0500 +++ b/sg101/templates/podcast/base.html Tue May 03 20:58:15 2016 -0500 @@ -1,29 +1,56 @@ -{% extends 'base.html' %} +{% extends 'v3/base.html' %} {% load static from staticfiles %} {% block custom_head %} {% endblock %} {% block content %}

SurfGuitar101 Podcast

-Podcast Logo +
+
+ Podcast Logo +
+
+ Welcome to the Surfguitar101 Podcast! The podcast + started as an experiment just to see what it took to create a podcast. + The reaction was very positive so hopefully we will start seeing new + episodes on a semi-regular basis. You can download the podcast episodes + here and we are also listed in iTunes. +
+

-Welcome to the Surfguitar101 Podcast! The podcast started as an experiment just to see what it took to create a podcast. The reaction was very positive so hopefully we will start seeing new episodes on a semi-regular basis. You can download the podcast episodes here and we are also listed in iTunes. + Please discuss the podcasts in our Podcast forum. We'd love to hear your + suggestions, and let us know if you would like to help in any way. We + need producers, interviewers, artwork, etc. you name it. Thanks!

-Please discuss the podcasts in our Podcast forum. We'd love to hear your suggestions, and let us know if you would like -to help in any way. We need producers, interviewers, artwork, etc. you name it. Thanks! + In addition to the forum, you can contact us by email at + podcast@surfguitar101.com.

-In addition to the forum, you can contact us by email at -podcast@surfguitar101.com. -

-

-RSS Feed Subscribe to the podcast via RSS. + + Subscribe to the podcast via RSS.

Hey iTunes users! Here is our listing in iTunes. Follow the previous link and then click the subscribe button to let iTunes automatically download episodes for you.

-
+
+
+
+ +
+
+ Sorry folks, the SG101 podcast is on hiatus. Fortunately there are several + good Internet-based radio shows these days that more than take up the slack. + We encourage you to check out + North Sea Surf Music Radio and + Fiberglass + Jungle, just to name two. +
+
+

+ Who knows what the future will bring, the podcast may return someday! +

+

{% block podcast-content %}{% endblock %} {% endblock %} diff -r 16e190fa6ef8 -r aa43db10c565 sg101/templates/podcast/detail.html --- a/sg101/templates/podcast/detail.html Mon May 02 20:03:18 2016 -0500 +++ b/sg101/templates/podcast/detail.html Tue May 03 20:58:15 2016 -0500 @@ -9,29 +9,14 @@ {% block custom_css %} {% endblock %} -{% block custom_js %} - +{% block podcast-content %} + - -{% endblock %} -{% block podcast-content %} -

{{ podcast.pubdate|date:"F d, Y" }} • {{ podcast.title }}

{{ podcast.subtitle }}

{{ podcast.summary|linebreaks }} @@ -93,3 +78,23 @@ {% social_sharing podcast.search_title podcast.get_absolute_url %} {% endblock %} + +{% block custom_js %} + + + +{% endblock %}