From 870484f41ff54f9cf1cc273ebcfe510fefbc1b2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 13 Mar 2012 19:56:22 +0100 Subject: [PATCH] =?utf8?q?Klassen=20f=C3=BCr=20paginate=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/common/paginate.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/webpages/common/paginate.html b/templates/webpages/common/paginate.html index a476fa09f..8878193f2 100644 --- a/templates/webpages/common/paginate.html +++ b/templates/webpages/common/paginate.html @@ -1,9 +1,10 @@ [%- USE T8 %] + [%- IF pages.max > 1 %] -[%- IF pages.cur > 1 %]« [% 'prev' | $T8 %] [% ELSE %]« [% END %] +[%- IF pages.cur > 1 %]« [% 'prev' | $T8 %] [% ELSE %]« [% END %] [%- FOR p = pages.common %] [%- NEXT UNLESS p.visible %] - [%- IF p.active %][% p.page %] [% ELSE %][% p.page %] [%- END %] + [%- IF p.active %][% p.page %] [% ELSE %][% p.page %] [%- END %] [%- END %] -[%- IF pages.cur < pages.max %][% 'next' | $T8 %] »[% ELSE %]»[%- END %] +[%- IF pages.cur < pages.max %][% 'next' | $T8 %] »[% ELSE %]»[%- END %] [%- END %] -- 2.20.1