From 6c6bdaafdd37af95d5c4ceea002a63adf57da8fe Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 13 Nov 2006 16:48:49 +0000 Subject: [PATCH] Page title includes test name if specified. --- web/htdocs/check.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" : "")) &> -- 1.7.10.4