annotate 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 |
rev |
line source |
gremmie@1
|
1 {% extends 'podcast/base.html' %}
|
gremmie@1
|
2 {% block title %}Podcast: {{ podcast.title }}{% endblock %}
|
gremmie@1
|
3 {% block podcast-content %}
|
gremmie@1
|
4 <div class="breadcrumb">
|
gremmie@1
|
5 <a href="{% url podcast.views.index %}">Podcast Index</a> >> {{ podcast.title }}
|
gremmie@1
|
6 </div>
|
gremmie@1
|
7 <h3>{{ podcast.pubdate|date:"F d, Y" }} • {{ podcast.title }}</h3>
|
gremmie@1
|
8 <h4>{{ podcast.subtitle }}</h4>
|
gremmie@1
|
9 {{ podcast.summary|linebreaks }}
|
gremmie@1
|
10 <p><a href="{{ podcast.enclosure_url }}">Download Now</a> •
|
gremmie@1
|
11 {{ podcast.enclosure_length|filesizeformat }} • {{ podcast.duration }}</p>
|
gremmie@1
|
12 {% endblock %}
|