From: Sven Schöling Date: Tue, 13 Mar 2012 18:56:22 +0000 (+0100) Subject: Klassen für paginate links X-Git-Tag: release-3.0.0beta1~345^2~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=870484f41ff54f9cf1cc273ebcfe510fefbc1b2d;p=kivitendo-erp.git Klassen für paginate links --- 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 %]