2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.1.2.12,1.1.2.13

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

Modified Files:
      Tag: dev2
	xhtml10.vm 
Log Message:
does not display URI in case of method direct input or file upload

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/xhtml10.vm,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -d -r1.1.2.12 -r1.1.2.13
--- xhtml10.vm	27 Aug 2009 12:10:54 -0000	1.1.2.12
+++ xhtml10.vm	27 Aug 2009 14:07:46 -0000	1.1.2.13
@@ -45,7 +45,11 @@
 		#foreach($result in $observation.getResultsList())
 			#if(!$result.Infos.isEmpty())
 			<div class="info-section">
-				<h4><span>URI : </span><a href="$result.Uri">$result.Uri</a></h4>
+				<h4>
+					#if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end
+					#if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end
+					#if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end
+				</h4>
 				<table>
 					<tbody>
 #foreach($info in $result.Infos)
@@ -78,7 +82,11 @@
 		#foreach($result in $observation.getResultsList())
 			#if(!$result.Errors.isEmpty())
 			<div class="error-section">
-				<h4><span>URI : </span><a href="$result.Uri">$result.Uri</a></h4>
+				<h4>
+					#if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end
+					#if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end
+					#if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end
+				</h4>
 				<table>
 					<tbody>
 #foreach($error in $result.Errors)
@@ -111,7 +119,11 @@
 		#foreach($result in $observation.getResultsList())
 			#if(!$result.Warnings.isEmpty())
 			<div class="warning-section">
-				<h4><span>URI : </span><a href="$result.Uri">$result.Uri</a></h4>
+				<h4>
+					#if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end
+					#if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end
+					#if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end
+				</h4>
 				<table>
 					<tbody>
 #foreach($warning in $result.Warnings)

Received on Thursday, 27 August 2009 14:07:58 UTC