2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.44,1.45

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv25468/WebContent/WEB-INF/resources/templates

Modified Files:
	xhtml10.vm 
Log Message:
added class "grouped" to grouped results
+ added missing ids on group titles

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- xhtml10.vm	22 Oct 2009 15:20:55 -0000	1.44
+++ xhtml10.vm	23 Oct 2009 09:38:11 -0000	1.45
@@ -35,7 +35,7 @@
 #set ($infoCount = $observation.getInfoCount())
 #set ($errorCount = $observation.getErrorCount())
 #set ($warningCount = $observation.getWarningCount())
-<div class="observer section #if($observation.isPassed()) valid #elseif ($observation.isUndef()) undef #else invalid #end" id="$observationName">
+<div class="observer section #if($observation.isPassed()) valid #elseif ($observation.isUndef()) undef #else invalid #end #if($observation.hasGroups()) grouped #end" id="$observationName">
 	<h2 class="title">
 		<span class="icons">
 			#if ($infoCount && $infoCount > 0)<a class="infos" href="#${observationName}_info" title="$info_label ($infoCount)"><span class="legend">$info_label</span><span class="count">$infoCount</span></a> #end
@@ -52,8 +52,8 @@
 	<div class="results block">
 	#if ($observation.hasGroups())
 		#foreach($group in $observation.getGroups()) #if (!$group.hasParent())
-		<div class="section group">
-			<h3 class="title"><a class="anchor">a</a>$group.getTitle()</h3>					
+		<div class="section group" id="${observationName}_${group.Name}">
+			<h3 class="title"><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3>					
 			<div class="block">
 				<p>$group.getDescription()</p>
 				<div class="messages">
@@ -121,8 +121,8 @@
 				</div>
 				
 				#foreach($group in $observation.getGroupChildren($group))
-				<div class="section group">
-					<h3 class="title"><a class="anchor">a</a>$group.getTitle()</h3>
+				<div class="section group" id="${observationName}_${group.Name}">
+					<h3 class="title"><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3>
 					<div class="block">
 						<p>$group.getDescription()</p>
 						<div class="messages">

Received on Friday, 23 October 2009 09:38:17 UTC