Mercurial > public > sg101
annotate gpp/templates/news/current_news.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 | 07da6967fc40 |
children | da46e77cd804 |
rev | line source |
---|---|
bgneal@32 | 1 {% load tagging_tags %} |
bgneal@32 | 2 {% if stories %} |
bgneal@32 | 3 <h2>Current News Stories</h2> |
bgneal@32 | 4 {% for story in stories %} |
bgneal@32 | 5 {% tags_for_object story as story_tags %} |
bgneal@32 | 6 {% include 'news/story_summary.html' %} |
bgneal@32 | 7 {% endfor %} |
bgneal@32 | 8 <hr /> |
bgneal@32 | 9 <p>For more news stories, check out our <a href="{% url news-index_page page=1 %}">news archive</a>.</p> |
bgneal@32 | 10 {% endif %} |