view gpp/templates/news/current_news.html @ 327:a1bf6cf49720

Modified the implementation of the avatar tag to look for an attribute 'user_profile' on the user object. If present, this is assumed to be the profile. This improves the performance of the member list and some forum views.
author Brian Neal <bgneal@gmail.com>
date Tue, 22 Feb 2011 02:11:26 +0000
parents daa2916f5b34
children
line wrap: on
line source
{% load url from future %}
{% if stories %}
<h2>Current News Stories</h2>
{% for story in stories %}
   {% include 'news/story_summary.html' %}
{% endfor %}
<hr />
<p>For more news stories, check out our <a href="{% url 'news-index_page' %}">news archive</a>.</p>
{% endif %}