X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=templates%2Ffactory%2Flist_macros;fp=templates%2Ffactory%2Flist_macros;h=0000000000000000000000000000000000000000;hb=36b7502bb586953f62f56a2c6edd3b22c184702d;hp=0a889965d31a7b7d84b88f02793a7d4919541a81;hpb=d6031eb2b36cd574354146a778e95fb35e9e636e;p=maypole.git diff --git a/templates/factory/list_macros b/templates/factory/list_macros deleted file mode 100644 index 0a88996..0000000 --- a/templates/factory/list_macros +++ /dev/null @@ -1,22 +0,0 @@ -[% MACRO display_line(item) BLOCK; - FOR col = classmetadata.columns; - NEXT IF col == "id"; - ""; - "" IF item.$col.moniker; # it's an object - item.$col; - "" IF item.$col.moniker; - ""; - END; - button(item, "edit"); - button(item, "delete"); -END %] -[% MACRO button(obj, action) BLOCK; %] - - -
- -
- -[% END %] -