- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 19 Oct 2009 10:11:22 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv30054/WebContent/WEB-INF/resources/templates
Modified Files:
xhtml10.vm
Log Message:
partially updated for the new response objects
Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- xhtml10.vm 13 Oct 2009 13:33:12 -0000 1.32
+++ xhtml10.vm 19 Oct 2009 10:11:20 -0000 1.33
@@ -44,10 +44,45 @@
#if($observation.isPassed()) #set($ref = "test_ok") #else #set($ref = "test_fail") #end
$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
+ #else <a class="direct_link" href="$observation.getHTMLRequestUri()" title="$direct_link_title_2">$direct_link_label</a>#end
</h2>
<div class="results block">
+ #if ($observation.hasGroups())
+ #foreach($group in $observation.getGroups())
+ #if (!$group.hasParent())
+ <div>$group.getTitle()</div>
+ <div>$group.getDescription()</div>
+ #foreach($message in $observation.getMessages())
+ #if ($message.getGroupName() && $message.getGroupName() == $group.getName())
+ <div style="margin-left:25px">$message.getTitle()
+ $message.getDescription()</div>
+ #end
+ #end
+ #foreach($group in $observation.getGroupChildren($group))
+ <div class="child" style="margin-left:50px">$group.getTitle()</div>
+ <div class="child" style="margin-left:50px">$group.getDescription()</div>
+ #foreach($message in $observation.getMessages())
+ #if ($message.getGroupName() && $message.getGroupName() == $group.getName())
+ <div style="margin-left:75px">$message.getTitle()
+ $message.getDescription()</div>
+ #end
+ #end
+ #foreach($group in $observation.getGroupChildren($group))
+ <div class="child2" style="margin-left:100px">$group.getTitle()</div>
+ <div class="child2" style="margin-left:100px">$group.getDescription()</div>
+ #foreach($message in $observation.getMessages())
+ #if ($message.getGroupName() && $message.getGroupName() == $group.getName())
+ <div style="margin-left:125px">$message.getTitle()
+ $message.getDescription()</div>
+ #end
+ #end
+ #end
+ #end
+ #end
+ #end
+ #else
+
#if ($infoCount && $infoCount > 0)
<div class="section infos" id="${observationName}_info">
<h3 class="title">
@@ -191,6 +226,8 @@
</div>
</div>
#end
+
+ #end
</div>
</div>
#end
Received on Monday, 19 October 2009 10:11:26 UTC