view 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
line wrap: on
line source
{% extends 'podcast/base.html' %}
{% load url from future %}
{% block title %}Podcast: {{ podcast.title }}{% endblock %}
{% block podcast-content %}
<div class="breadcrumbs">
   <a href="{% url 'podcast.views.index' %}">Podcast Index</a> &gt;&gt; {{ podcast.title }}
</div>
<h3>{{ podcast.pubdate|date:"F d, Y" }} &bull; {{ podcast.title }}</h3>
<h4>{{ podcast.subtitle }}</h4>
{{ podcast.summary|linebreaks }}
<ul>
   <li>
   <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> &bull;
   {{ podcast.enclosure_length|filesizeformat }} &bull; {{ podcast.duration }}
   </li>
   {% if alt_ext %}
   <li>
      <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a>
   </li>
   {% endif %}
</ul>
{% endblock %}