[Bast-commits] r5422 - trunk/PhotoOp/root

castaway at dev.catalyst.perl.org castaway at dev.catalyst.perl.org
Sat Feb 7 15:18:11 GMT 2009


Author: castaway
Date: 2009-02-07 15:18:11 +0000 (Sat, 07 Feb 2009)
New Revision: 5422

Modified:
   trunk/PhotoOp/root/dir_list.tt
Log:
Display number of files in directories


Modified: trunk/PhotoOp/root/dir_list.tt
===================================================================
--- trunk/PhotoOp/root/dir_list.tt	2009-02-07 15:00:05 UTC (rev 5421)
+++ trunk/PhotoOp/root/dir_list.tt	2009-02-07 15:18:11 UTC (rev 5422)
@@ -1,7 +1,7 @@
 [% MACRO dir_list(dirs, files) BLOCK; %]
 <div class="directories">
  [% FOREACH dir = dirs %]
-  <a class="subdir" href="[%- c.uri_for('/path', dir) -%]">[%- dir | html -%]</a>
+  <span class="subdir"><a href="[%- c.uri_for('/path', dir) -%]">[%- dir | html -%]</a> (<strong>[% dir.children.size %]</strong>)</span>
  [% END; %]
 </div>
 <div class="files">




More information about the Bast-commits mailing list