2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.7,1.8

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

Modified Files:
	xhtml10.vm 
Log Message:
fixed getRequestUri was undefined in case of direct input

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- xhtml10.vm	9 Sep 2009 14:34:59 -0000	1.7
+++ xhtml10.vm	10 Sep 2009 08:31:04 -0000	1.8
@@ -34,11 +34,10 @@
 #end
 	<h2>
 		<span class="icons">
-			<a class="anchor" href="#$observationName" title="anchor to this observation">[anchor]</a>
-			<a class="direct_link" href="$observation.getRequestUri()" title="link to ...">[direct link]</a>
 			#if ($infoCount && $infoCount > 0)<img src="images/icone_info.png" alt="Infos" title="Infos" /><span>$infoCount</span> #end
 			#if ($errorCount && $errorCount > 0)<img src="images/icone_error.png" alt="Errors" title="Errors" /><span>$errorCount</span> #end
 			#if ($warningCount && $warningCount > 0)<img src="images/icone_warning.png" alt="Warnings" title="Warnings" /><span>$warningCount</span> #end
+			<a class="anchor" href="#$observationName" title="anchor to this observation">[anchor]</a>
 		</span>
 		#if($observation.isPassed())
 		$test_ok_1
@@ -46,6 +45,8 @@
 		$test_fail_1
 		#end
 		<span class="name">$unicorncall.getObserverName($observationName, $lang)</span>
+		#if ($observation.getRequestUri())<a class="direct_link" href="$observation.getRequestUri()" title="link to ...">[direct link]</a>
+		#else <a class="direct_link" href="$observation.getCheckedby()" title="link to ...">[direct link]</a>#end
 	</h2>
 	
 	<div class="results">

Received on Thursday, 10 September 2009 08:31:17 UTC