From: Mike Taylor Date: Mon, 13 Nov 2006 16:48:49 +0000 (+0000) Subject: Page title includes test name if specified. X-Git-Tag: CPAN-v1.02~815 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=6c6bdaafdd37af95d5c4ceea002a63adf57da8fe;p=irspy-moved-to-github.git Page title includes test name if specified. --- diff --git a/web/htdocs/check.html b/web/htdocs/check.html index 9d5118c..345d901 100644 --- a/web/htdocs/check.html +++ b/web/htdocs/check.html @@ -1,6 +1,8 @@ -%# $Id: check.html,v 1.4 2006-09-23 07:13:12 mike Exp $ +%# $Id: check.html,v 1.5 2006-11-13 16:48:49 mike Exp $ <%args> @id +$test => undef <& /chrome/layout.mc, %ARGS, component => "/details/check.mc", - title => @id > 1 ? "Test targets" : "Test a target" &> + title => ((@id > 1 ? "Test targets" : "Test a target") . + (defined $test ? ": $test" : "")) &>