Mercurial > public > sg101
view gpp/templates/podcast/index.html @ 71:fbef4f76492b
Created a bool_icon template tag to graphically display an icon to represent yes/no. Updated profile template to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 01 Jul 2009 18:34:09 +0000 |
parents | dbd703f7d63a |
children |
line wrap: on
line source
{% 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 %}