view gpp/templates/news/current_news.html @ 102:e67c4dd98db5

Forums: new topic form sprouts boolean fields for sticky and locking if the user has rights. Implemented the locked logic. Fixed a bug where topics where getting out of order (the view_count was bumping the update_date because of auto_now).
author Brian Neal <bgneal@gmail.com>
date Wed, 16 Sep 2009 02:01:57 +0000
parents 07da6967fc40
children da46e77cd804
line wrap: on
line source
{% load tagging_tags %}
{% if stories %}
<h2>Current News Stories</h2>
{% for story in stories %}
   {% tags_for_object story as story_tags %}
   {% include 'news/story_summary.html' %}
{% endfor %}
<hr />
<p>For more news stories, check out our <a href="{% url news-index_page page=1 %}">news archive</a>.</p>
{% endif %}