]> git.decadent.org.uk Git - maypole.git/commitdiff
list_columns instead of display_columns
authorMarcus Ramberg <mramberg@cpan.org>
Tue, 19 Oct 2004 20:05:51 +0000 (20:05 +0000)
committerMarcus Ramberg <mramberg@cpan.org>
Tue, 19 Oct 2004 20:05:51 +0000 (20:05 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@240 48953598-375a-da11-a14b-00016c27c3ee

templates/factory/list
templates/factory/macros

index beade40e3a5184f998c71096b375d78ba537ab68..fab90b8627ea39d508382f0f42f28e7438dc91fb 100644 (file)
@@ -5,7 +5,7 @@
 <div class="list">
     <table id="matrix" width="100%" >
         <tr>
-            [% FOR col = classmetadata.columns.list;
+            [% FOR col = classmetadata.list_columns.list;
                 NEXT IF col == "id";
                 "<th>"; 
                 SET additional = "?order=" _ col;
index 491a0bc5074a444701606d15b03b31f85aebb2e0..7aead21b87ae4c5bd369ca5f860cabad739847d5 100644 (file)
@@ -54,7 +54,7 @@ for some.
 
 #%]
 [% MACRO display_line(item) BLOCK;
-    FOR col = classmetadata.columns;
+    FOR col = classmetadata.list_columns;
         NEXT IF col == "id";
         "<td>";
         IF col == "url" AND item.url;
@@ -66,7 +66,7 @@ for some.
         END;
         "</td>";
     END;
-    '<td class="actions" nowrap="nowrap">';
+    '<td class="actions">';
     button(item, "edit");
     button(item, "delete");
     "</td>";