Mercurial > public > sg101
view gpp/templates/podcast/detail.html @ 20:c0d0779b266f
Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 20:41:37 +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> >> {{ podcast.title }} </div> <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> {% endblock %}