]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/templates/factory/macros
removed C3 and no longer require it
[maypole.git] / lib / Maypole / templates / factory / macros
index c96cb17db8d7818e23b0a04efbbf5273083bd8ce..d2192bdad1557b2e11d8bb1e94e756a761275626 100644 (file)
@@ -14,7 +14,7 @@ catenating the base URL, table, command, and any arguments.
 [%
 MACRO link(table, command, additional, label) BLOCK;
     SET lnk = base _ "/" _ table _ "/" _ command _ "/" _ additional;
-    lnk = lnk | uri | html;
+    lnk = lnk | uri ;
     '<a href="' _ lnk _ '">';
     label | html;
     "</a>";
@@ -63,8 +63,7 @@ for some.
         ELSIF col == classmetadata.stringify_column;
             maybe_link_view(item);
                ELSIF col_obj; # its a real column
-            accessor = item.accessor_name_for(col_obj) ||
-                                  item.accessor_name(col_obj); # deprecated in cdbi
+            accessor = item.accessor_name_for(col_obj) || item.accessor_name(col_obj); # deprecated in cdbi
             maybe_link_view(item.$accessor);
         ELSE; 
             item.$col;