Changeset - 888d6c35897d
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-04 20:23:22
bkuhn@ebb.org
Don't just call this "object", say what it is.
1 file changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/news/pressrelease_list.html
Show inline comments
...
 
@@ -17,10 +17,10 @@
 

	
 
{% for object in news %}
 
{% for news_item in news %}
 
    <div class="shaded">
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
 
    <h3><a href="{{ object.get_absolute_url }}">{{ object.headline|safe }}</a></h3>
 
    {% if object.is_recent %}
 
        {% if object.subhead %}<h4>{{ object.subhead|safe }}</h4>{% endif %}
 
        {{ object.summary|safe }}
 
    {% if object.body %}<p><span class="continued"><a href="{{ object.get_absolute_url }}">Read More...</a></span></p>{% endif %}
 
    <p class="date">{{ news_item.pub_date|date:"F j, Y" }}</p>
 
    <h3><a href="{{ news_item.get_absolute_url }}">{{ news_item.headline|safe }}</a></h3>
 
    {% if news_item.is_recent %}
 
        {% if news_item.subhead %}<h4>{{ news_item.subhead|safe }}</h4>{% endif %}
 
        {{ news_item.summary|safe }}
 
    {% if news_item.body %}<p><span class="continued"><a href="{{ news_item.get_absolute_url }}">Read More...</a></span></p>{% endif %}
 
    {% endif %}
0 comments (0 inline, 0 general)