projects
/
mkdru-moved-to-drupal.org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ef3dc
)
Report no result in a better way
author
Jakub Skoczen
<jakub@indexdata.dk>
Thu, 3 Mar 2011 10:18:40 +0000
(11:18 +0100)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Mon, 7 Mar 2011 09:46:59 +0000
(10:46 +0100)
mkdru.theme.js
patch
|
blob
|
history
diff --git
a/mkdru.theme.js
b/mkdru.theme.js
index
13886d9
..
c919ffd
100644
(file)
--- a/
mkdru.theme.js
+++ b/
mkdru.theme.js
@@
-101,8
+101,11
@@
Drupal.theme.prototype.mkdruPager = function (pages, start, current, total, prev
};
Drupal.theme.prototype.mkdruCounts = function(first, last, available, total) {
- return first + Drupal.t(' to ') + last + Drupal.t(' of ') + available
+ if (last > 0)
+ return first + Drupal.t(' to ') + last + Drupal.t(' of ') + available
+ Drupal.t(' available (') + total + Drupal.t(' found)');
+ else
+ return Drupal.t('No results');
};
Drupal.theme.prototype.mkdruStatus = function(activeClients, clients) {