From: Simon Cozens Date: Fri, 2 Apr 2004 11:56:19 +0000 (+0000) Subject: Forgot this one. X-Git-Tag: 2.10~253 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c88a8636e6a515a7d3a2ffc3e497a80103f237d0;hp=b9a0ea576340041a16e83550a6b6e80805c11203;p=maypole.git Forgot this one. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@109 48953598-375a-da11-a14b-00016c27c3ee --- 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; %] -
+