[Catalyst-commits] r7117 - branches/site-notrac/podbuilder/root

jshirley at dev.catalyst.perl.org jshirley at dev.catalyst.perl.org
Fri Nov 9 23:37:51 GMT 2007


Author: jshirley
Date: 2007-11-09 23:37:51 +0000 (Fri, 09 Nov 2007)
New Revision: 7117

Added:
   branches/site-notrac/podbuilder/root/summary_page.tt
Log:
Adding the start of the summary list pages

Added: branches/site-notrac/podbuilder/root/summary_page.tt
===================================================================
--- branches/site-notrac/podbuilder/root/summary_page.tt	                        (rev 0)
+++ branches/site-notrac/podbuilder/root/summary_page.tt	2007-11-09 23:37:51 UTC (rev 7117)
@@ -0,0 +1,19 @@
+[%
+
+USE Pod;
+
+MACRO render_summary(child) BLOCK;
+    %]<div>moo - [% child %]</div>[%
+END;
+
+%]
+<dl>
+[% FOREACH child IN children %]
+    <dt><a href="[% child.filename %]">[% child.title %]</a></dt>
+    [% IF child.source %]
+    <dd>[% render_summary(child.source) %]</dd>
+    [% END %]
+[% END %]
+</dl>
+
+




More information about the Catalyst-commits mailing list