X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2Fpaginate.html;h=a476fa09f9dd63b88ad73934675d50391a4b52e7;hb=8b6ad9a4da005f880abf86378299756cebae75c4;hp=1b54ce8d8f11c6fd703d966c477b54a4e1fdad1e;hpb=28d69bb85e934088a56e6e8458cd08d3794e1f8b;p=kivitendo-erp.git
diff --git a/templates/webpages/common/paginate.html b/templates/webpages/common/paginate.html
index 1b54ce8d8..a476fa09f 100644
--- a/templates/webpages/common/paginate.html
+++ b/templates/webpages/common/paginate.html
@@ -1,8 +1,9 @@
+[%- USE T8 %]
[%- IF pages.max > 1 %]
+[%- IF pages.cur > 1 %]« [% 'prev' | $T8 %] [% ELSE %]« [% END %]
[%- FOR p = pages.common %]
- [%- IF p.active %][% p.page %]
- [%- ELSE %][% p.page %]
- [%- END %]
- [%- ' ' UNLESS loop.last %]
+ [%- NEXT UNLESS p.visible %]
+ [%- IF p.active %][% p.page %] [% ELSE %][% p.page %] [%- END %]
[%- END %]
+[%- IF pages.cur < pages.max %][% 'next' | $T8 %] »[% ELSE %]»[%- END %]
[%- END %]