W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.1.2.6,1.1.2.7

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 26 Aug 2009 10:24:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MgFgT-0003Y3-UV@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv13608/WebContent/WEB-INF/resources/templates

Modified Files:
      Tag: dev2
	xhtml10.vm 
Log Message:
updated results display

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/xhtml10.vm,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -d -r1.1.2.6 -r1.1.2.7
--- xhtml10.vm	26 Aug 2009 07:57:03 -0000	1.1.2.6
+++ xhtml10.vm	26 Aug 2009 10:24:51 -0000	1.1.2.7
@@ -38,19 +38,12 @@
 				<h4><span>URI : </span><a href="$result.Uri">$result.Uri</a></h4>
 				<table>
 					<tbody>
-						#foreach($info in $result.Infos)
+#foreach($info in $result.Infos)
 						<tr>
-							<td class="linenumber" title="">
-								#if($info.Line)$info.Line #end
-								#if($info.Column)/$info.Column #end
-							</td>
-							<td class="codeContext">
-								#if($info.Context) $info.Context #end
-							</td>
+							<td class="linenumber" title="#if($info.Line)Line:$info.Line#end #if($info.Column)Column: $info.Column#end">#if($info.Line)$info.Line#end#if($info.Column)/$info.Column #end</td>
+							<td class="codeContext"> #if($info.Context) $info.Context #end </td>
 							<td class="info">
-								#foreach($message in $info.Message)
-								<span class="msg">$message</span>
-								#end
+							#foreach($message in $info.Message)<span class="msg">$message</span>#end
 								#foreach($longMessage in $info.Longmessage)
 								<p>
 								#foreach($longMessagePiece in $longMessage.Content)
@@ -60,7 +53,7 @@
 								#end
 							</td>
 						</tr>
-						#end
+#end
 					</tbody>
 				</table>
 			</div>
@@ -79,29 +72,22 @@
 				<h4><span>URI : </span><a href="$result.Uri">$result.Uri</a></h4>
 				<table>
 					<tbody>
-						#foreach($error in $result.Errors)
+#foreach($error in $result.Errors)
 						<tr>
-							<td class="linenumber" title="">
-								#if($error.Line)$error.Line #end
-								#if($error.Column)/$error.Column #end
-							</td>
-							<td class="codeContext">
-								#if($error.Context) $error.Context #end
-							</td>
+							<td class="linenumber" title="#if($error.Line)Line: $error.Line#end #if($error.Column)Column: $error.Column #end">#if($error.Line)$error.Line#end#if($error.Column)/$error.Column #end</td>
+							<td class="codeContext">#if($error.Context) $error.Context #end</td>
 							<td class="error">
-								#foreach($message in $error.Message)
-								<span class="msg">$message</span>
-								#end
+							#foreach($message in $error.Message)<span class="msg">$message</span>#end
 								#foreach($longMessage in $error.Longmessage)
-								<p>
+								<span class="longmsg">
 								#foreach($longMessagePiece in $longMessage.Content)
 									$longMessagePiece
 								#end
-								</p>
+								</span>
 								#end
 							</td>
 						</tr>
-						#end
+#end
 					</tbody>
 				</table>
 			</div>
@@ -120,29 +106,22 @@
 				<h4><span>URI : </span><a href="$result.Uri">$result.Uri</a></h4>
 				<table>
 					<tbody>
-						#foreach($warning in $result.Warnings)
+#foreach($warning in $result.Warnings)
 						<tr>
-							<td class="linenumber" title="">
-								#if($warning.Line)$warning.Line #end
-								#if($warning.Column)/$warning.Column #end
-							</td>
-							<td class="codeContext">
-								#if($warning.Context) $warning.Context #end
-							</td>
-							<td class="warning">
-								#foreach($message in $warning.Message)
-								<span class="msg">$message</span>
-								#end
+							<td class="linenumber" title="#if($warning.Line)Line: $warning.Line#end #if($warning.Column)Column: $warning.Column #end">#if($warning.Line)$warning.Line#end#if($warning.Column)/$warning.Column #end</td>
+							<td class="codeContext">#if($warning.Context) $warning.Context #end</td>
+							<td class="warning level$warning.getLevel()">
+							#foreach($message in $warning.Message)<span class="msg">$message</span>#end
 								#foreach($longMessage in $warning.Longmessage)
-								<p>
+								<span class="longmsg">
 								#foreach($longMessagePiece in $longMessage.Content)
 									$longMessagePiece
 								#end
-								</p>
+								</span>
 								#end
 							</td>
 						</tr>
-						#end
+#end
 					</tbody>
 				</table>
 			</div>
Received on Wednesday, 26 August 2009 10:25:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC