From c88a8636e6a515a7d3a2ffc3e497a80103f237d0 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Fri, 2 Apr 2004 11:56:19 +0000 Subject: [PATCH] Forgot this one. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@109 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/macros | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/factory/macros b/templates/factory/macros index e142916..0aeea76 100644 --- a/templates/factory/macros +++ b/templates/factory/macros @@ -33,8 +33,8 @@ command for that object. Otherwise, it just displays the data. [% MACRO maybe_link_view(object) BLOCK; - IF object.moniker; # It's an object, i.e. a has-a - link(object.moniker, "view", object.id, object); + IF object.table; # It's an object, i.e. a has-a + link(object.table, "view", object.id, object); ELSE; object; END; @@ -79,7 +79,7 @@ This is a generic button, which performs an action on an object. #%] [% MACRO button(obj, action) BLOCK; %] -
+
-- 2.39.5