From 8625486cd778ef83c03fb5d5541b1485dfc02de7 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 29 Nov 2006 14:57:31 +0000 Subject: [PATCH] Clarify title generation. --- 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 05f7aa6..94c2f25 100644 --- a/web/htdocs/edit.html +++ b/web/htdocs/edit.html @@ -1,8 +1,9 @@ -%# $Id: edit.html,v 1.3 2006-11-15 17:43:50 mike Exp $ +%# $Id: edit.html,v 1.4 2006-11-29 14:57:31 mike Exp $ <%args> $id => undef +$copy => undef <& /chrome/layout.mc, %ARGS, - title => ($r->param("copy") ? "Copy" : defined $id ? "Edit" : "New") . + title => (!defined $id ? "New" : $copy ? "Copy" : "Edit") . " target record", component => "/details/edit.mc" &> -- 1.7.10.4