diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-04-26 21:01:36 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-26 21:01:36 -0700 |
commit | 466b24307c4ac827cd4075a07a5fff567b6f4093 (patch) | |
tree | 80ef028c6571ed0b369cc01101f4f5c0345e1766 /themes | |
parent | 5cf38ed816006af52fa08475d2957a6f18846887 (diff) |
Hide the paginator when there are no children. #1721.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/admin_wind/views/paginator.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/admin_wind/views/paginator.html.php b/themes/admin_wind/views/paginator.html.php index 3cb0223d..b46d9741 100644 --- a/themes/admin_wind/views/paginator.html.php +++ b/themes/admin_wind/views/paginator.html.php @@ -27,6 +27,7 @@ // ?> +<? if ($total): ?> <ul class="g-paginator ui-helper-clearfix"> <li class="g-first"> <? if ($page_type == "collection"): ?> @@ -61,8 +62,6 @@ <? else: ?> <?= t("%position of %total", array("position" => $position, "total" => $total)) ?> <? endif ?> - <? else: ?> - <?= t("No photos") ?> <? endif ?> </li> @@ -86,3 +85,4 @@ <? endif ?> </li> </ul> +<? endif ?>
\ No newline at end of file |