Mercurial > public > sg101
comparison gpp/templates/news/current_news.html @ 205:da46e77cd804
Fixing #77, news tags were getting exploded by letter on some views/template tags.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 01 May 2010 22:25:49 +0000 |
parents | 07da6967fc40 |
children | 1246a4f1ab4f |
comparison
equal
deleted
inserted
replaced
204:b4305e18d3af | 205:da46e77cd804 |
---|---|
1 {% load tagging_tags %} | |
2 {% if stories %} | 1 {% if stories %} |
3 <h2>Current News Stories</h2> | 2 <h2>Current News Stories</h2> |
4 {% for story in stories %} | 3 {% for story in stories %} |
5 {% tags_for_object story as story_tags %} | |
6 {% include 'news/story_summary.html' %} | 4 {% include 'news/story_summary.html' %} |
7 {% endfor %} | 5 {% endfor %} |
8 <hr /> | 6 <hr /> |
9 <p>For more news stories, check out our <a href="{% url news-index_page page=1 %}">news archive</a>.</p> | 7 <p>For more news stories, check out our <a href="{% url news-index_page page=1 %}">news archive</a>.</p> |
10 {% endif %} | 8 {% endif %} |