triangleUp triangleDown

This commit is contained in:
Sanj 2011-10-25 19:55:37 +01:00
parent 3dbf16752b
commit a3ff114ba3

View File

@ -32,17 +32,17 @@
{% for result in page.object_list %} {% for result in page.object_list %}
<p> <p>
<a href="{{ result.object.get_absolute_url }}&search={{ query }}">{{ result.object.title }}</a> <a href="{{ result.object.get_absolute_url }}&amp;search={{ query }}">{{ result.object.title }}</a>
</p> </p>
{% empty %} {% empty %}
<p class="noResults">No results found.</p> <p class="noResults">No results found.</p>
{% endfor %} {% endfor %}
{% if page.has_previous or page.has_next %} {% if page.has_previous or page.has_next %}
<div> <div id="prevNext>
{% if page.has_previous %}<a href="?q={{ query }}&amp;page={{ page.previous_page_number }}">{% endif %}&laquo; Previous{% if page.has_previous %}</a>{% endif %} {% if page.has_previous %}<a id="triangleUp" href="?q={{ query }}&amp;page={{ page.previous_page_number }}">{% endif %}&laquo; Previous{% if page.has_previous %}</a>{% endif %}
| |
{% if page.has_next %}<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">{% endif %}Next &raquo;{% if page.has_next %}</a>{% endif %} {% if page.has_next %}<a id="triangleDown" href="?q={{ query }}&amp;page={{ page.next_page_number }}">{% endif %}Next &raquo;{% if page.has_next %}</a>{% endif %}
</div> </div>
{% endif %} {% endif %}
{% else %} {% else %}