view gpp/templates/podcast/detail.html @ 270:85f81377bb5b

Fix #126. Incorporate the repoze timeago function as a new 'elapsed' template filter. This should save space in the shoutbox when displaying dates. Also used in the new posts forum template tag.
author Brian Neal <bgneal@gmail.com>
date Sun, 26 Sep 2010 17:27:08 +0000
parents 7fdfc9b3c71a
children daa2916f5b34
line wrap: on
line source
{% extends 'podcast/base.html' %}
{% 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 %}