[extensions-web/filter-sort-ui: 17/20] Use the appropriate chevron arrows instead of the words "Previous" and "Next"
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/filter-sort-ui: 17/20] Use the appropriate chevron arrows instead of the words "Previous" and "Next"
- Date: Tue, 3 Jan 2012 04:02:06 +0000 (UTC)
commit 288ddb97639b0afa78f413416e2bc9a88a6418ef
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jan 2 15:51:25 2012 -0500
Use the appropriate chevron arrows instead of the words "Previous" and "Next"
sweettooth/static/js/paginator.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/static/js/paginator.js b/sweettooth/static/js/paginator.js
index b9b36e5..01fb7fa 100644
--- a/sweettooth/static/js/paginator.js
+++ b/sweettooth/static/js/paginator.js
@@ -72,7 +72,7 @@ define(['jquery', 'hashparamutils', 'jquery.hashchange'], function($, hashparamu
var $elem = $('<div>', {'class': 'paginator-content'});
if (number > 1) {
- makeLink(number-1, 'prev', "Previous").appendTo($elem);
+ makeLink(number-1, 'prev', '\u00ab').appendTo($elem);
makeLink(1, 'first').appendTo($elem);
if (number-context > 2)
$elem.append($('<span>', {'class': 'ellipses'}).text("..."));
@@ -91,7 +91,7 @@ define(['jquery', 'hashparamutils', 'jquery.hashchange'], function($, hashparamu
$elem.append($('<span>', {'class': 'ellipses'}).text("..."));
makeLink(numPages, 'last').appendTo($elem);
- makeLink(number+1, 'prev', "Next").appendTo($elem);
+ makeLink(number+1, 'prev', '\u00bb').appendTo($elem);
}
return $('<div>', {'class': 'paginator'}).append($elem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]