annotate gpp/templates/podcast/base.html @ 507:8631d32e6b16
Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 04 Dec 2011 03:05:21 +0000 |
parents |
6e425c9b9d16 |
children |
|
rev |
line source |
gremmie@1
|
1 {% extends 'base.html' %}
|
bgneal@310
|
2 {% load url from future %}
|
bgneal@403
|
3 {% block custom_head %}
|
bgneal@403
|
4 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 Podcast" href="{% url 'podcast-feed' %}" />
|
bgneal@403
|
5 {% endblock %}
|
gremmie@1
|
6 {% block content %}
|
bgneal@310
|
7 <h2><a href="{% url 'podcast-main' %}">SurfGuitar101 Podcast</a></h2>
|
gremmie@1
|
8 <img src="{{ channel.image.url }}" alt="Podcast Logo" style="float: left; margin-right:10px;" />
|
gremmie@1
|
9 <p>
|
gremmie@1
|
10 Welcome to the <strong>Surfguitar101 Podcast</strong>! 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.
|
gremmie@1
|
11 </p>
|
gremmie@1
|
12 <p>
|
gremmie@1
|
13 Please discuss the podcasts in our Podcast forum. We'd love to hear your suggestions, and let us know if you would like
|
gremmie@1
|
14 to help in any way. We need producers, interviewers, artwork, etc. you name it. Thanks!
|
gremmie@1
|
15 </p>
|
gremmie@1
|
16 <p>
|
gremmie@1
|
17 In addition to the forum, you can contact us by email at
|
gremmie@1
|
18 <a href="mailto:podcast@surfguitar101.com">podcast@surfguitar101.com</a>.
|
gremmie@1
|
19 </p>
|
gremmie@1
|
20 <p>
|
bgneal@403
|
21 <a href="{% url 'podcast-feed' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="RSS Feed" title="RSS Feed" /></a> <a href="{% url 'podcast-feed' %}">Subscribe to the podcast via RSS</a>.
|
gremmie@1
|
22 </p>
|
bgneal@225
|
23 <p>
|
bgneal@225
|
24 <strong>Hey iTunes users!</strong> Here is our <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=284928526">listing in iTunes</a>. Follow the previous link and then click the subscribe button to let iTunes automatically download episodes for you.
|
bgneal@225
|
25 </p>
|
gremmie@1
|
26 <br clear="all" />
|
gremmie@1
|
27 <hr />
|
gremmie@1
|
28 {% block podcast-content %}{% endblock %}
|
gremmie@1
|
29 {% endblock %}
|