2010-09-26 21:20:05 +00:00
|
|
|
{% extends "base_news.html" %}
|
|
|
|
{% block subtitle %}News - {% endblock %}
|
|
|
|
|
2010-10-04 13:47:51 +00:00
|
|
|
{% block outercontent %}
|
|
|
|
<div id="container">
|
|
|
|
<div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
|
2013-02-21 21:46:40 +00:00
|
|
|
<h2>News Index by Year</h2>
|
2010-10-04 13:47:51 +00:00
|
|
|
<ul>
|
|
|
|
{% for year in date_list reversed %}<li class="{{ year|date:"Y" }}"><a href="{{ year|date:"Y" }}/">{{ year|date:"Y" }}</a></li>{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="mainContent">
|
2021-10-18 13:50:30 +00:00
|
|
|
<div class="breadcrumbs">
|
|
|
|
<p><a href="/">Home</a> / <a href="#fixme">News</a></p>
|
|
|
|
</div>
|
2010-10-04 13:47:51 +00:00
|
|
|
<h1><a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> Conservancy News</h1>
|
2010-09-26 21:20:05 +00:00
|
|
|
|
2010-10-03 23:07:48 +00:00
|
|
|
|
2015-03-04 20:48:54 +00:00
|
|
|
{% ifnotequal news.number 1 %}<p>(Page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% endifnotequal %}
|
2010-09-26 21:20:05 +00:00
|
|
|
|
2016-12-31 04:09:01 +00:00
|
|
|
{% for pressr in news %}
|
|
|
|
{% if pressr.is_recent %}
|
|
|
|
{% include "news/pressrelease_partial.html" with pressr=pressr show="summary" only %}
|
|
|
|
{% else %}
|
|
|
|
{% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %}
|
|
|
|
{% endif %}
|
2010-09-26 21:20:05 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<p>
|
2015-03-04 20:48:54 +00:00
|
|
|
{% if news.has_next %}<a class="next_page_button" href="?page={{ news.next_page_number }}">Next page (older) »</a>{% endif %}
|
|
|
|
{% if news.has_previous %}<a href="?page={{ news.previous_page_number }}">« Previous page (newer)</a>{% endif %}
|
2015-03-04 21:04:44 +00:00
|
|
|
</p>
|
2015-03-04 23:36:25 +00:00
|
|
|
{% if news.paginator.num_pages > 1 %}<p class="pagination_list"> {% for pagenum in news.paginator.page_range %}{% ifequal pagenum news.number %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}">{{ pagenum }}</a>{% endifequal %} {% endfor %}</p>{% endif %}
|
2014-04-17 23:07:13 +00:00
|
|
|
</div>
|
2010-10-04 13:47:51 +00:00
|
|
|
</div>
|
2010-09-26 21:20:05 +00:00
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
{% endblock %}
|