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~54^2~760 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=7bccbc081e86fddee14adb138d56f7ad8c0c0772 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" : "")) &>