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

2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.17,1.18

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 21 Sep 2009 09:39:21 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MpfMf-0002Mk-6E@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv9080/WebContent/WEB-INF/resources/templates

Modified Files:
	xhtml10.vm 
Log Message:
uses getFilteredRequestUri for direct links

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- xhtml10.vm	18 Sep 2009 17:18:50 -0000	1.17
+++ xhtml10.vm	21 Sep 2009 09:39:19 -0000	1.18
@@ -51,8 +51,8 @@
 		$test_fail_1
 		#end
 		<span class="name">$unicorncall.getObserverName($observationName, $lang) #if ($observation.Rating) ($observation.Rating/100) #end</span>
-		#if ($observation.getRequestUri())<a class="direct_link" href="$observation.getRequestUri()" title="revalidate this document on the validator website">[direct link]</a>
-		<!--#else <a class="direct_link" href="$observation.getCallingURI()" title="link to this validator website">[direct link]</a>#end-->
+		#if ($observation.getFilteredRequestUri($observationName))<a class="direct_link" href="$observation.getFilteredRequestUri($observationName)" title="revalidate this document on the validator website">[direct link]</a>
+		#else <a class="direct_link" href="$observation.getBaseURI($observationName)" title="link to this validator website">[direct link]</a>#end
 	</h2>
 	
 	<div class="results block">
Received on Monday, 21 September 2009 09:39:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT