From fdb1043b4260053234d48abc51d3838a2f74d957 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Tue, 19 Oct 2004 20:05:51 +0000 Subject: [PATCH] list_columns instead of display_columns git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@240 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/list | 2 +- templates/factory/macros | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/factory/list b/templates/factory/list index beade40..fab90b8 100644 --- a/templates/factory/list +++ b/templates/factory/list @@ -5,7 +5,7 @@
- [% FOR col = classmetadata.columns.list; + [% FOR col = classmetadata.list_columns.list; NEXT IF col == "id"; ""; END; - '"; -- 2.39.5
"; SET additional = "?order=" _ col; diff --git a/templates/factory/macros b/templates/factory/macros index 491a0bc..7aead21 100644 --- a/templates/factory/macros +++ b/templates/factory/macros @@ -54,7 +54,7 @@ for some. #%] [% MACRO display_line(item) BLOCK; - FOR col = classmetadata.columns; + FOR col = classmetadata.list_columns; NEXT IF col == "id"; ""; IF col == "url" AND item.url; @@ -66,7 +66,7 @@ for some. END; "'; + ''; button(item, "edit"); button(item, "delete"); "