Mercurial > public > sg101
annotate gpp/templates/podcast/detail.html @ 310:daa2916f5b34
Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 04:03:48 +0000 |
parents | 7fdfc9b3c71a |
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> >> {{ podcast.title }} |
gremmie@1 | 7 </div> |
gremmie@1 | 8 <h3>{{ podcast.pubdate|date:"F d, Y" }} • {{ 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> • |
bgneal@143 | 14 {{ podcast.enclosure_length|filesizeformat }} • {{ 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 %} |