Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1391 from darkwing/redesign-search-pagination-877239
Browse files Browse the repository at this point in the history
fix bug 877239 - Reverse order of 'next' and 'prev' in redesign
  • Loading branch information
groovecoder committed Sep 19, 2013
2 parents fe68e01 + ce9b391 commit 443acc9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions apps/search/templates/search/results-redesign.html
Expand Up @@ -68,17 +68,17 @@ <h3><i class="icon-copy"></i>{{ _('Docs') }}</h3>
{% endif %}

<div class="pager">
{% if next_page %}
<a class="button" href="{{ request.get_full_path()|urlparams(page=next_page) }}">
{{ _('Next Page') }}
</a>
{% endif %}
{% if prev_page %}
<a class="button" href="{{ request.get_full_path()|urlparams(page=prev_page) }}">
{{ _('Previous Page') }}
</a>
{% endif %}
</div>
{% if prev_page %}
<a class="button" href="{{ request.get_full_path()|urlparams(page=prev_page) }}">
{{ _('Previous Page') }}
</a>
{% endif %}
{% if next_page %}
<a class="button" href="{{ request.get_full_path()|urlparams(page=next_page) }}">
{{ _('Next Page') }}
</a>
{% endif %}
</div>

</div>
</div>
Expand Down

0 comments on commit 443acc9

Please sign in to comment.