annotate gpp/templates/podcast/detail.html @ 368:b76af55aafe4

For #176; cache the output of the latest poll block template tag.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 21:00:00 +0000
parents daa2916f5b34
children 9175392da056
rev   line source
gremmie@1 1 {% extends 'podcast/base.html' %}
bgneal@310 2 {% load url from future %}
gremmie@1 3 {% block title %}Podcast: {{ podcast.title }}{% endblock %}
gremmie@1 4 {% block podcast-content %}
bgneal@225 5 <div class="breadcrumbs">
bgneal@310 6 <a href="{% url 'podcast.views.index' %}">Podcast Index</a> &gt;&gt; {{ podcast.title }}
gremmie@1 7 </div>
gremmie@1 8 <h3>{{ podcast.pubdate|date:"F d, Y" }} &bull; {{ podcast.title }}</h3>
gremmie@1 9 <h4>{{ podcast.subtitle }}</h4>
gremmie@1 10 {{ podcast.summary|linebreaks }}
bgneal@143 11 <ul>
bgneal@143 12 <li>
bgneal@143 13 <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> &bull;
bgneal@143 14 {{ podcast.enclosure_length|filesizeformat }} &bull; {{ podcast.duration }}
bgneal@143 15 </li>
bgneal@143 16 {% if alt_ext %}
bgneal@143 17 <li>
bgneal@143 18 <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a>
bgneal@143 19 </li>
bgneal@143 20 {% endif %}
bgneal@143 21 </ul>
gremmie@1 22 {% endblock %}