Changeset - 6dcb9d35e347
[Not reviewed]
0 4 0
Brett Smith (brett) - 7 years ago 2016-11-17 14:45:03
brett@sfconservancy.org
blogs, news: Don't shade entries on listing pages.

This just causes entire pages to be shaded, which is undesirable.
4 files changed with 0 insertions and 8 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/blog/entry_archive_day.html
Show inline comments
...
 
@@ -9,3 +9,2 @@
 
{% for object in object_list %}
 
    <div class="shaded">
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
...
 
@@ -16,3 +15,2 @@
 
    {% if object.tags.all %}<p class="blog-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
 
    </div>
 
{% endfor %}
www/conservancy/templates/blog/entry_archive_month.html
Show inline comments
...
 
@@ -9,3 +9,2 @@
 
{% for object in object_list %}
 
    <div class="shaded">
 
    <p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
...
 
@@ -16,3 +15,2 @@
 
    {% if object.tags.all %}<p class="blog-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
 
    </div>
 
{% endfor %}
www/conservancy/templates/blog/entry_list.html
Show inline comments
...
 
@@ -15,3 +15,2 @@
 
{% for entry in blog_entries %}
 
    <div class="shaded">
 
    <p class="date">{{ entry.pub_date|date:"F j, Y" }} by {{ entry.author.formal_name }}</p>
...
 
@@ -21,3 +20,2 @@
 
    {% if entry.tags.all %}<p class="blog-tags small">Tags: {% for tag in entry.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
 
    </div>
 
{% endfor %}
www/conservancy/templates/news/pressrelease_list.html
Show inline comments
...
 
@@ -18,3 +18,2 @@
 
{% for news_item in news %}
 
    <div class="shaded">
 
    <p class="date">{{ news_item.pub_date|date:"F j, Y" }}</p>
...
 
@@ -26,3 +25,2 @@
 
    {% endif %}
 
    </div>
 
{% endfor %}
0 comments (0 inline, 0 general)