Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@nigelbabu

No description provided.

@davedash davedash merged commit f759e01 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
8 apps/input/templates/input/pager.html
@@ -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>
View
8 apps/search/templates/search/search.html
@@ -73,9 +73,9 @@
{% 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 %}
@@ -83,9 +83,9 @@
{% 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>
View
8 apps/themes/templates/themes/theme.html
@@ -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
8 media/css/input.css
@@ -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 {
Something went wrong with that request. Please try again.