triangleUp triangleDown
This commit is contained in:
parent
3dbf16752b
commit
a3ff114ba3
|
@ -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 }}&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 }}&page={{ page.previous_page_number }}">{% endif %}« Previous{% if page.has_previous %}</a>{% endif %}
|
{% if page.has_previous %}<a id="triangleUp" href="?q={{ query }}&page={{ page.previous_page_number }}">{% endif %}« Previous{% if page.has_previous %}</a>{% endif %}
|
||||||
|
|
|
|
||||||
{% if page.has_next %}<a href="?q={{ query }}&page={{ page.next_page_number }}">{% endif %}Next »{% if page.has_next %}</a>{% endif %}
|
{% if page.has_next %}<a id="triangleDown" href="?q={{ query }}&page={{ page.next_page_number }}">{% endif %}Next »{% if page.has_next %}</a>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user