Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11 from nigelbabu/actually-switch
Browse files Browse the repository at this point in the history
Switch newer and older around. No more commits at 3 am :-)
  • Loading branch information
davedash committed Jul 1, 2011
2 parents f759e01 + efa6f71 commit 47eb18f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/input/templates/input/pager.html
Expand Up @@ -2,17 +2,17 @@
<div class="pager">
{% with link_txt = _('&laquo; Older Messages')|safe %}
{% if next_url %}
<a href="{{ next_url }}" class="newer">{{ link_txt }}</a>
<a href="{{ next_url }}" class="older">{{ link_txt }}</a>
{% else %}
<span class="newer inactive">{{ link_txt }}</span>
<span class="older inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}

{% with link_txt = _('Newer Messages &raquo;')|safe %}
{% if prev_url %}
<a href="{{ prev_url }}" class="older">{{ link_txt }}</a>
<a href="{{ prev_url }}" class="newer">{{ link_txt }}</a>
{% else %}
<span class="older inactive">{{ link_txt }}</span>
<span class="newer inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
</div>
Expand Down

0 comments on commit 47eb18f

Please sign in to comment.