Changeset - 888d6c35897d
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 8 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
...
 
@@ -15,14 +15,14 @@
 

	
 
{% ifnotequal news.number 1 %}<p>(page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% endifnotequal %}
 

	
 
{% 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 %}
 
    </div>
 
{% endfor %}
0 comments (0 inline, 0 general)