annotate gpp/templates/podcast/detail.html @ 348:d1b11096595b

Fix #168; when nailing a spammer, clear their profile text fields. Guard against topics and forums that don't exist when deleting posts in the signal handler. Make the forum stats template tag only display the latest active users.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 Mar 2011 02:18:28 +0000
parents daa2916f5b34
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> &gt;&gt; {{ podcast.title }}
gremmie@1 7 </div>
gremmie@1 8 <h3>{{ podcast.pubdate|date:"F d, Y" }} &bull; {{ 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> &bull;
bgneal@143 14 {{ podcast.enclosure_length|filesizeformat }} &bull; {{ 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 %}