X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdru.theme.js;h=c919ffdcfcd31e63b359143e37cfa4272d102b22;hb=ea534b6c82e40166d3fb586f0d4868e5db5ea5f5;hp=13886d97bb9fca7e984ee2b84c63dd7db081e104;hpb=05f1c6a6f3be9b37f6d117016682cfcb0f11459d;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index 13886d9..c919ffd 100644 --- 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) {