[Bast-commits] r9160 -
ironman/branches/mk-ii/IronMan-Web/root/archive
idn at dev.catalyst.perl.org
idn at dev.catalyst.perl.org
Wed Apr 14 20:41:55 GMT 2010
Author: idn
Date: 2010-04-14 21:41:55 +0100 (Wed, 14 Apr 2010)
New Revision: 9160
Modified:
ironman/branches/mk-ii/IronMan-Web/root/archive/day.tt
ironman/branches/mk-ii/IronMan-Web/root/archive/month.tt
ironman/branches/mk-ii/IronMan-Web/root/archive/year.tt
Log:
Adding paging at the top of the page
Modified: ironman/branches/mk-ii/IronMan-Web/root/archive/day.tt
===================================================================
--- ironman/branches/mk-ii/IronMan-Web/root/archive/day.tt 2010-04-14 19:44:55 UTC (rev 9159)
+++ ironman/branches/mk-ii/IronMan-Web/root/archive/day.tt 2010-04-14 20:41:55 UTC (rev 9160)
@@ -1,6 +1,8 @@
Daily archive for [% day.strftime('%A, %d %B %Y') %]
+[% INCLUDE 'inc/next_prev.tt' %]
+
[% FOREACH post IN posts %]
[% INCLUDE 'inc/post_teaser.tt'
Modified: ironman/branches/mk-ii/IronMan-Web/root/archive/month.tt
===================================================================
--- ironman/branches/mk-ii/IronMan-Web/root/archive/month.tt 2010-04-14 19:44:55 UTC (rev 9159)
+++ ironman/branches/mk-ii/IronMan-Web/root/archive/month.tt 2010-04-14 20:41:55 UTC (rev 9160)
@@ -1,6 +1,8 @@
Monthly archive for [% month.strftime('%B %Y') %]
+[% INCLUDE 'inc/next_prev.tt' %]
+
[% FOREACH day IN posts_per_day.values %]
<h3><a href="[% c.uri_for_action('archive/day', day.0.posted_on.year, day.0.posted_on.month, day.0.posted_on.day ) %]">[% day.0.posted_on.strftime('%A, %B %e') %]</a></h3>
<ul>
Modified: ironman/branches/mk-ii/IronMan-Web/root/archive/year.tt
===================================================================
--- ironman/branches/mk-ii/IronMan-Web/root/archive/year.tt 2010-04-14 19:44:55 UTC (rev 9159)
+++ ironman/branches/mk-ii/IronMan-Web/root/archive/year.tt 2010-04-14 20:41:55 UTC (rev 9160)
@@ -1,3 +1,5 @@
-Yearly archive for [% year %]
\ No newline at end of file
+Yearly archive for [% year %]
+
+There's nothing here yet.
More information about the Bast-commits
mailing list