[Bast-commits] r6075 -
ironman/plagger/assets/plugins/Publish-PagedPlanet
penfold at dev.catalyst.perl.org
penfold at dev.catalyst.perl.org
Thu Apr 30 22:31:52 GMT 2009
Author: penfold
Date: 2009-04-30 23:31:51 +0100 (Thu, 30 Apr 2009)
New Revision: 6075
Modified:
ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt
Log:
fix broken edge case of nav link
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt 2009-04-30 22:27:47 UTC (rev 6074)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt 2009-04-30 22:31:51 UTC (rev 6075)
@@ -2,5 +2,5 @@
<div class="nav">
[% prevpage = thispage - 1; IF (thispage == 1) %]First Previous [% ELSE; link('First',1) %] [% link('Previous',prevpage); END -%]
[%- FOREACH page IN [1..pagecount]; IF (page == thispage); %] [% page; ELSE; %] [% link(page,page); END; END -%]
-[%- nextpage = thispage + 1; IF (thispage == pagecount); %] Next Last;|[% ELSE %] [% link('Next',nextpage) %] [% link('Last',pagecount); END -%]
+[%- nextpage = thispage + 1; IF (thispage == pagecount); %] Next Last[% ELSE %] [% link('Next',nextpage) %] [% link('Last',pagecount); END -%]
</div>
More information about the Bast-commits
mailing list