2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.30,1.31

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

Modified Files:
	xhtml10.vm 
Log Message:
fixed test_ok was always displayed

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- xhtml10.vm	7 Oct 2009 12:16:45 -0000	1.30
+++ xhtml10.vm	7 Oct 2009 14:44:02 -0000	1.31
@@ -42,7 +42,7 @@
 			<a class="anchor smooth" href="#$observationName" title="$anchor_observation">a</a>
 		</span>
 		#if($observation.isPassed()) #set($ref = "test_ok") #else #set($ref = "test_fail") #end
-		$ucn.evaluate($lang, "test_ok", "<span class=\"name\">$unicorncall.getObserverName($observationName, $lang)#if($observation.Rating) ($observation.Rating/100)#end</span>")
+		$ucn.evaluate($lang, $ref, "<span class=\"name\">$unicorncall.getObserverName($observationName, $lang)#if($observation.Rating) ($observation.Rating/100)#end</span>")
 		#if ($observation.getFilteredRequestUri())<a class="direct_link" href="$observation.getFilteredRequestUri()" title="$direct_link_title_1">$direct_link_label</a>
 		#else <a class="direct_link" href="$observation.getBaseURI($observationName)" title="$direct_link_title_2">$direct_link_label</a>#end
 	</h2>

Received on Wednesday, 7 October 2009 14:44:10 UTC