Mercurial > public > sg101
view gpp/templates/podcast/detail.html @ 190:0e4961833cdf
Added some select_related's to downloads.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 01 Apr 2010 01:57:01 +0000 |
parents | 1ed461fd2030 |
children | 7fdfc9b3c71a |
line wrap: on
line source
{% extends 'podcast/base.html' %} {% block title %}Podcast: {{ podcast.title }}{% endblock %} {% block podcast-content %} <div class="breadcrumb"> <a href="{% url podcast.views.index %}">Podcast Index</a> >> {{ podcast.title }} </div> <h3>{{ podcast.pubdate|date:"F d, Y" }} • {{ podcast.title }}</h3> <h4>{{ podcast.subtitle }}</h4> {{ podcast.summary|linebreaks }} <ul> <li> <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> • {{ podcast.enclosure_length|filesizeformat }} • {{ podcast.duration }} </li> {% if alt_ext %} <li> <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a> </li> {% endif %} </ul> {% endblock %}