From: Sven Schöling Date: Fri, 11 Mar 2011 10:19:14 +0000 (+0100) Subject: Paginates nur anzeigen, wenn mindestens 2 Seiten. X-Git-Tag: release-2.7.0beta1~138 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=28d69bb85e934088a56e6e8458cd08d3794e1f8b;p=kivitendo-erp.git Paginates nur anzeigen, wenn mindestens 2 Seiten. --- diff --git a/templates/webpages/common/paginate.html b/templates/webpages/common/paginate.html index 3292e13eb..1b54ce8d8 100644 --- a/templates/webpages/common/paginate.html +++ b/templates/webpages/common/paginate.html @@ -1,6 +1,8 @@ +[%- IF pages.max > 1 %] [%- FOR p = pages.common %] [%- IF p.active %][% p.page %] [%- ELSE %][% p.page %] [%- END %] [%- ' ' UNLESS loop.last %] [%- END %] +[%- END %]