annotate gpp/templates/podcast/detail.html @ 308:4d086d2210b9

Fixing #141; cache badge ownership to reduce database hits when browsing forum topics.
author Brian Neal <bgneal@gmail.com>
date Sun, 16 Jan 2011 21:06:40 +0000
parents 7fdfc9b3c71a
children daa2916f5b34
rev   line source
gremmie@1 1 {% extends 'podcast/base.html' %}
gremmie@1 2 {% block title %}Podcast: {{ podcast.title }}{% endblock %}
gremmie@1 3 {% block podcast-content %}
bgneal@225 4 <div class="breadcrumbs">
gremmie@1 5 <a href="{% url podcast.views.index %}">Podcast Index</a> &gt;&gt; {{ podcast.title }}
gremmie@1 6 </div>
gremmie@1 7 <h3>{{ podcast.pubdate|date:"F d, Y" }} &bull; {{ podcast.title }}</h3>
gremmie@1 8 <h4>{{ podcast.subtitle }}</h4>
gremmie@1 9 {{ podcast.summary|linebreaks }}
bgneal@143 10 <ul>
bgneal@143 11 <li>
bgneal@143 12 <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> &bull;
bgneal@143 13 {{ podcast.enclosure_length|filesizeformat }} &bull; {{ podcast.duration }}
bgneal@143 14 </li>
bgneal@143 15 {% if alt_ext %}
bgneal@143 16 <li>
bgneal@143 17 <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a>
bgneal@143 18 </li>
bgneal@143 19 {% endif %}
bgneal@143 20 </ul>
gremmie@1 21 {% endblock %}