view gpp/templates/podcast/detail.html @ 23:a5f27f25fa52

Added a latest_downloads template tag. Made the comments view the details view for a download. Changed get_absolute_url to point to this new view.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:16:59 +0000
parents dbd703f7d63a
children 1ed461fd2030
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> &gt;&gt; {{ podcast.title }}
</div>
<h3>{{ podcast.pubdate|date:"F d, Y" }} &bull; {{ podcast.title }}</h3>
<h4>{{ podcast.subtitle }}</h4>
{{ podcast.summary|linebreaks }}
<p><a href="{{ podcast.enclosure_url }}">Download Now</a> &bull;
{{ podcast.enclosure_length|filesizeformat }} &bull; {{ podcast.duration }}</p>
{% endblock %}