From e94636727b81ab71d48a887135ed42d0511677c4 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 15 Nov 2006 17:43:50 +0000 Subject: [PATCH] Title is "Copy" if copy param is set. --- web/htdocs/edit.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/htdocs/edit.html b/web/htdocs/edit.html index 8af5c84..05f7aa6 100644 --- a/web/htdocs/edit.html +++ b/web/htdocs/edit.html @@ -1,7 +1,8 @@ -%# $Id: edit.html,v 1.2 2006-11-14 14:55:28 mike Exp $ +%# $Id: edit.html,v 1.3 2006-11-15 17:43:50 mike Exp $ <%args> $id => undef <& /chrome/layout.mc, %ARGS, - title => (defined $id ? "Edit" : "New") . " target record", + title => ($r->param("copy") ? "Copy" : defined $id ? "Edit" : "New") . + " target record", component => "/details/edit.mc" &> -- 1.7.10.4