Mercurial > public > sg101
diff gpp/templates/podcast/detail.html @ 143:1ed461fd2030
Podcast enhancements for #39. Provide channel level keyword support. Provide an alternate download URL so we can support both m4a and mp3 formats.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2009 21:28:31 +0000 |
parents | dbd703f7d63a |
children | 7fdfc9b3c71a |
line wrap: on
line diff
--- a/gpp/templates/podcast/detail.html Sun Dec 06 21:25:00 2009 +0000 +++ b/gpp/templates/podcast/detail.html Sun Dec 06 21:28:31 2009 +0000 @@ -7,6 +7,15 @@ <h3>{{ podcast.pubdate|date:"F d, Y" }} • {{ podcast.title }}</h3> <h4>{{ podcast.subtitle }}</h4> {{ podcast.summary|linebreaks }} -<p><a href="{{ podcast.enclosure_url }}">Download Now</a> • -{{ podcast.enclosure_length|filesizeformat }} • {{ podcast.duration }}</p> +<ul> + <li> + <a href="{{ podcast.enclosure_url }}">Download Now ({{ ext }})</a> • + {{ podcast.enclosure_length|filesizeformat }} • {{ podcast.duration }} + </li> + {% if alt_ext %} + <li> + <a href="{{ podcast.alt_enclosure_url }}">Download Now ({{ alt_ext }})</a> + </li> + {% endif %} +</ul> {% endblock %}