Changeset - 9d654d08ee45
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 9 years ago 2015-03-04 23:35:16
bkuhn@ebb.org
Restore navigation links.

Previous commit incorrectly implemented solution for avoiding showing
nav links. This corrects that.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/blog/entry_list.html
Show inline comments
...
 
@@ -28,3 +28,3 @@
 
</p>
 
<p class="pagination_list">{% if blog_entries.num_pages > 1 %} {% for pagenum in blog_entries.paginator.page_range %}{% ifequal pagenum blog_entries.number %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}">{{ pagenum }}</a>{% endifequal %} {% endfor %}{% endif %}</p>
 
<p class="pagination_list">{% if blog_entries.paginator.num_pages > 1 %} {% for pagenum in blog_entries.paginator.page_range %}{% ifequal pagenum blog_entries.number %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}">{{ pagenum }}</a>{% endifequal %} {% endfor %}{% endif %}</p>
 
<div class="clear"></div>
www/conservancy/templates/news/pressrelease_list.html
Show inline comments
...
 
@@ -33,3 +33,3 @@
 
</p>
 
<p class="pagination_list">{% if blog_entries.num_pages > 1 %} {% for pagenum in blog_entries.paginator.page_range %}{% ifequal pagenum blog_entries.number %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}">{{ pagenum }}</a>{% endifequal %} {% endfor %}{% endif %}</p>
 
<p class="pagination_list">{% if news.paginator.num_pages > 1 %} {% for pagenum in news.paginator.page_range %}{% ifequal pagenum news.number %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}">{{ pagenum }}</a>{% endifequal %} {% endfor %}{% endif %}</p>
 
         </div>
0 comments (0 inline, 0 general)