Mercurial > public > sg101
diff gpp/templates/podcast/index.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/podcast/index.html Mon Apr 06 02:43:12 2009 +0000 @@ -0,0 +1,15 @@ +{% extends 'podcast/base.html' %} +{% block title %}Podcast{% endblock %} +{% block podcast-content %} +{% if channel and channel.item_set %} + <h3>Podcast Index</h3> + <ul> + {% for item in channel.item_set.all %} + <li><a href="{{ item.get_absolute_url }}">{{ item.title }}</a> • + {{ item.subtitle }} • {{ item.pubdate|date:"F d, Y" }}</li> + {% endfor %} + </ul> +{% else %} +<p>No podcasts available at this time.</a> +{% endif %} +{% endblock %}