Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Changing prev and next class names to older and newer (bug 668560) #10

Merged
merged 1 commit into from Jun 30, 2011
Jump to file or symbol
Failed to load files and symbols.
+16 −16
Split
@@ -2,17 +2,17 @@
<div class="pager">
{% with link_txt = _('&laquo; Older Messages')|safe %}
{% if next_url %}
- <a href="{{ next_url }}" class="next">{{ link_txt }}</a>
+ <a href="{{ next_url }}" class="newer">{{ link_txt }}</a>
{% else %}
- <span class="next inactive">{{ link_txt }}</span>
+ <span class="newer inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
{% with link_txt = _('Newer Messages &raquo;')|safe %}
{% if prev_url %}
- <a href="{{ prev_url }}" class="prev">{{ link_txt }}</a>
+ <a href="{{ prev_url }}" class="older">{{ link_txt }}</a>
{% else %}
- <span class="prev inactive">{{ link_txt }}</span>
+ <span class="older inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
</div>
@@ -73,19 +73,19 @@
{% if page.has_next() and page.number < settings.SEARCH_MAX_PAGES %}
<a href="{{ search_url(
defaults=form.data, extra={'page': page.next_page_number()})
- }}" class="next">{{ link_txt }}</a>
+ }}" class="newer">{{ link_txt }}</a>
{% else %}
- <span class="next inactive">{{ link_txt }}</span>
+ <span class="newer inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
{% with link_txt = _('Newer Messages &raquo;')|safe %}
{% if page.has_previous() %}
<a href="{{ search_url(
defaults=form.data, extra={'page': page.previous_page_number()})
- }}" class="prev">{{ link_txt }}</a>
+ }}" class="older">{{ link_txt }}</a>
{% else %}
- <span class="prev inactive">{{ link_txt }}</span>
+ <span class="older inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
</div>
@@ -27,17 +27,17 @@
<div class="pager">
{% with link_txt = _('&laquo; Previous Page')|safe %}
{% if page.has_previous() %}
- <a class="prev" href="?page={{ page.previous_page_number() }}">{{ link_txt }}</a>
+ <a class="older" href="?page={{ page.previous_page_number() }}">{{ link_txt }}</a>
{% else %}
- <span class="prev inactive">{{ link_txt }}</span>
+ <span class="older inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
{% with link_txt = _('Next Page &raquo;')|safe %}
{% if page.has_next() %}
- <a class="next" href="?page={{ page.next_page_number() }}">{{ link_txt }}</a>
+ <a class="newer" href="?page={{ page.next_page_number() }}">{{ link_txt }}</a>
{% else %}
- <span class="next inactive">{{ link_txt }}</span>
+ <span class="newer inactive">{{ link_txt }}</span>
{% endif %}
{% endwith %}
</div>
View
@@ -656,16 +656,16 @@ background-color: #B6BCC0;
border-top: 1px dotted #b6bcc0;
padding: 15px 0 10px 0;
}
-.pager .next {
+.pager .newer {
float: left;
}
-.html-rtl .pager .next {
+.html-rtl .pager .newer {
float: left;
}
-.pager .prev {
+.pager .older {
float: right;
}
-.html-rtl .pager .prev {
+.html-rtl .pager .older {
float: none;
}
.pager .inactive {