Files
@ 21ee13ee7ecc
Branch filter:
Location: website/www/conservancy/templates/news/pressrelease_list.html - annotation
21ee13ee7ecc
1.5 KiB
text/html
Supporter: pictures: get picture-small working & apply throughout.
I pulled this from the `blog-left` style I used to use in blog posts
and created a new style called picture-small. On smaller screen
real estate, Tony's picture was ultimately too big.
I pulled this from the `blog-left` style I used to use in blog posts
and created a new style called picture-small. On smaller screen
real estate, Tony's picture was ultimately too big.
c858e825c0f2 c858e825c0f2 c858e825c0f2 a6f8800a3fce a6f8800a3fce a6f8800a3fce 7ccc53805a03 a6f8800a3fce a6f8800a3fce a6f8800a3fce a6f8800a3fce a6f8800a3fce a6f8800a3fce c858e825c0f2 d2af6a0cb511 b7e31128a0bb c858e825c0f2 d5f461d87963 d5f461d87963 d5f461d87963 d5f461d87963 d5f461d87963 d5f461d87963 c858e825c0f2 c858e825c0f2 c858e825c0f2 b7e31128a0bb b7e31128a0bb 20e258e000db 9c090f2c27f4 c0bf25753275 a6f8800a3fce c858e825c0f2 c858e825c0f2 c858e825c0f2 | {% extends "base_news.html" %}
{% block subtitle %}News - {% endblock %}
{% block outercontent %}
<div id="container">
<div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
<h2>News Index by Year</h2>
<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">
<h1><a href="/feeds/news/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> Conservancy News</h1>
{% ifnotequal news.number 1 %}<p>(Page {{ news.number }} of {{ news.paginator.num_pages }})</p>{% endifnotequal %}
{% 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 %}
{% endfor %}
<p>
{% 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 %}
</p>
{% 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 %}
</div>
</div>
<div class="clear"></div>
{% endblock %}
|