view gpp/templates/podcast/detail.html @ 285:8fd4984d5c3b

This is a first rough commit for #95, adding the ability to embed YouTube videos in forum posts. Some more polish and testing needs to happen at this point. I wanted to get all these changes off my hard drive and into the repository.
author Brian Neal <bgneal@gmail.com>
date Thu, 14 Oct 2010 02:39:35 +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 %}