- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 11 Sep 2009 12:39:34 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv15184/WebContent/WEB-INF/resources/templates
Modified Files:
xhtml10.vm
Log Message:
fixed id was not set to the good value
Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- xhtml10.vm 10 Sep 2009 08:31:04 -0000 1.8
+++ xhtml10.vm 11 Sep 2009 12:39:32 -0000 1.9
@@ -45,8 +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
+ #if ($observation.getRequestUri())<a class="direct_link" href="$observation.getRequestUri()" title="revalidate this document on this validator website">[direct link]</a>
+ #else <a class="direct_link" href="$observation.getCheckedby()" title="link to this validator website">[direct link]</a>#end
</h2>
<div class="results">
@@ -56,9 +56,10 @@
<div class="result">
<table>
<tbody>
+ #set ($i = 0)
#foreach($result in $observation.getResultsList())
- #set ($resultCount = $velocityCount)
#if(!$result.Infos.isEmpty())
+ #set ($i = $i + 1)
<tr>
<td colspan="5" class="uri">
#if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end
@@ -67,7 +68,7 @@
</td>
</tr>
#foreach($info in $result.Infos)
-#set ($messageId = "${observationName}-info-${resultCount}-$velocityCount")
+#set ($messageId = "${observationName}-info-${i}-$velocityCount")
<tr>
<td class="linenumber" title="#if($info.Line)Line:$info.Line#end">#if($info.Line)$info.Line#end</td>
<td class="colnumber" title="#if($info.Column)Column:$info.Column#end">#if($info.Column)$info.Column #end</td>
@@ -99,9 +100,10 @@
<div class="result">
<table>
<tbody>
+ #set ($i = 0)
#foreach($result in $observation.getResultsList())
- #set ($resultCount = $velocityCount)
#if (!$result.Errors.isEmpty())
+ #set ($i = $i + 1)
<tr>
<td colspan="5" class="uri">
#if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end
@@ -110,7 +112,7 @@
</td>
</tr>
#foreach($error in $result.Errors)
-#set ($messageId = "${observationName}-error-${resultCount}-$velocityCount")
+#set ($messageId = "${observationName}-error-${i}-$velocityCount")
<tr>
<td class="linenumber" title="#if($error.Line)Line: $error.Line#end">#if($error.Line)$error.Line#end</td>
<td class="colnumber" title="#if($error.Column)Column: $error.Column#end">#if($error.Column)$error.Column #end</td>
@@ -142,9 +144,10 @@
<div class="result">
<table>
<tbody>
+ #set ($i = 0)
#foreach($result in $observation.getResultsList())
- #set ($resultCount = $velocityCount)
#if(!$result.Warnings.isEmpty())
+ #set ($i = $i + 1)
<tr>
<td colspan="5" class="uri">
#if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end
@@ -153,7 +156,7 @@
</td>
</tr>
#foreach($warning in $result.Warnings)
-#set ($messageId = "${observationName}-warning-${resultCount}-$velocityCount")
+#set ($messageId = "${observationName}-warning-${i}-$velocityCount")
<tr>
<td class="linenumber" title="#if($warning.Line)Line: $warning.Line#end">#if($warning.Line)$warning.Line#end</td>
<td class="colnumber" title="#if($warning.Column)Column: $warning.Column#end">#if($warning.Column)$warning.Column #end</td>
Received on Friday, 11 September 2009 12:39:44 UTC