From 28d69bb85e934088a56e6e8458cd08d3794e1f8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 11 Mar 2011 11:19:14 +0100 Subject: [PATCH] Paginates nur anzeigen, wenn mindestens 2 Seiten. --- templates/webpages/common/paginate.html | 2 ++ 1 file changed, 2 insertions(+) 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 %] -- 2.20.1