Page title includes test name if specified.
authorMike Taylor <mike@indexdata.com>
Mon, 13 Nov 2006 16:48:49 +0000 (16:48 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 13 Nov 2006 16:48:49 +0000 (16:48 +0000)
web/htdocs/check.html

index 9d5118c..345d901 100644 (file)
@@ -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
 </%args>
 <& /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" : "")) &>