Files
@ f1575ece1a6b
Branch filter:
Location: website/www/conservancy/templates/news/pressrelease_list.html - annotation
f1575ece1a6b
1.6 KiB
text/html
Merge in various HTML fixes from Martin Michlmayr <tbm@cyrius.com> on 2013-02-21.
This did not fast-forward merge because I'd made changes to those files since
Martin submitted his merge request. This merge brings in the changes
contributed in the following two commits from Martin:
commit 8b54927bb51833156a75354090c6ff7dd8794bc8
Author: Martin Michlmayr <tbm@cyrius.com>
Date: 2013-02-21 21:47:15 +0000
Remove stray character
commit 660c48a528baf4e09bb7cc3ccd30afd7bf46072d
Author: Martin Michlmayr <tbm@cyrius.com>
Date: 2013-02-21 21:46:40 +0000
Fix various HTML syntax errors
This did not fast-forward merge because I'd made changes to those files since
Martin submitted his merge request. This merge brings in the changes
contributed in the following two commits from Martin:
commit 8b54927bb51833156a75354090c6ff7dd8794bc8
Author: Martin Michlmayr <tbm@cyrius.com>
Date: 2013-02-21 21:47:15 +0000
Remove stray character
commit 660c48a528baf4e09bb7cc3ccd30afd7bf46072d
Author: Martin Michlmayr <tbm@cyrius.com>
Date: 2013-02-21 21:46:40 +0000
Fix various HTML syntax errors
c858e825c0f2 c858e825c0f2 c858e825c0f2 a6f8800a3fce a6f8800a3fce a6f8800a3fce 660c48a528ba a6f8800a3fce a6f8800a3fce a6f8800a3fce a6f8800a3fce a6f8800a3fce a6f8800a3fce c858e825c0f2 d2af6a0cb511 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 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 page 1 %}<p>(page {{ page }} of {{ pages }})</p>{% endifnotequal %}
{% for object in object_list %}
<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 %}
{% endif %}
</div>
{% endfor %}
<p>
{% if has_next %}<a class="next_page_button" href="?page={{ next }}">Next page (older) »</a>{% endif %}
{% if has_previous %}<a href="?page={{ previous }}">« Previous page (newer)</a>{% endif %}
{% comment %}{% for pagenum in page_navigation %}{% ifequal pagenum page %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}">{{ pagenum }}</a>{% endifequal %} {% endfor %}{% endcomment %}
</p>
</div>
<div class="clear"></div>
{% endblock %}
|