- From: Mercurial notifier <nobody@w3.org>
- Date: Wed, 21 Jul 2010 15:53:20 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1325:9a67f82309a9
tag: tip
user: Thomas Gambet <tgambet@w3.org>
date: Wed Jul 21 11:52:52 2010 -0400
files: WebContent/WEB-INF/resources/templates/xhtml10.vm
description:
do not display unicorn temporary uris
diff -r 9d3e7c28d2c0 -r 9a67f82309a9 WebContent/WEB-INF/resources/templates/xhtml10.vm
--- a/WebContent/WEB-INF/resources/templates/xhtml10.vm Wed Jul 21 11:50:03 2010 -0400
+++ b/WebContent/WEB-INF/resources/templates/xhtml10.vm Wed Jul 21 11:52:52 2010 -0400
@@ -68,7 +68,13 @@
<tr>
<td colspan="4" class="uri" id="${observationName}_${group.Name}_$uriCount">
#if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end
- #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end
+ #if ($unicorncall.getInputMethod() == "UPLOAD")
+ #if ($unicornTool.isTemporaryURL($uri))
+ <span>$submitted_file</span>
+ #else
+ <span>$file_token </span>$esc.html($uri)
+ #end
+ #end
#if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end
</td>
<td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_${group.Name}_$uriCount">a</a></td>
@@ -137,7 +143,13 @@
<tr>
<td colspan="4" class="uri" id="${observationName}_${group.Name}_$uriCount">
#if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end
- #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end
+ #if ($unicorncall.getInputMethod() == "UPLOAD")
+ #if ($unicornTool.isTemporaryURL($uri))
+ <span>$submitted_file</span>
+ #else
+ <span>$file_token </span>$esc.html($uri)
+ #end
+ #end
#if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end
</td>
<td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_${group.Name}_$uriCount">a</a></td>
@@ -214,7 +226,13 @@
<tr>
<td colspan="4" class="uri" id="${observationName}_info_$uriCount">
#if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end
- #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end
+ #if ($unicorncall.getInputMethod() == "UPLOAD")
+ #if ($unicornTool.isTemporaryURL($uri))
+ <span>$submitted_file</span>
+ #else
+ <span>$file_token </span>$esc.html($uri)
+ #end
+ #end
#if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end
</td>
<td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_info_$uriCount">a</a></td>
@@ -278,7 +296,13 @@
<tr>
<td colspan="4" class="uri" id="${observationName}_error_$uriCount">
#if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end
- #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end
+ #if ($unicorncall.getInputMethod() == "UPLOAD")
+ #if ($unicornTool.isTemporaryURL($uri))
+ <span>$submitted_file</span>
+ #else
+ <span>$file_token </span>$esc.html($uri)
+ #end
+ #end
#if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end
</td>
<td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_error_$uriCount">a</a></td>
@@ -341,7 +365,13 @@
<tr>
<td colspan="4" class="uri" id="${observationName}_warning_$uriCount">
#if ($unicorncall.getInputMethod() == "URI")<span>$uri_token </span><a href="$esc.html($uri)">$esc.html($uri)</a>#end
- #if ($unicorncall.getInputMethod() == "UPLOAD")<span>$file_token </span>$esc.html($uri)#end
+ #if ($unicorncall.getInputMethod() == "UPLOAD")
+ #if ($unicornTool.isTemporaryURL($uri))
+ <span>$submitted_file</span>
+ #else
+ <span>$file_token </span>$esc.html($uri)
+ #end
+ #end
#if ($unicorncall.getInputMethod() == "DIRECT")<span>$submitted_file</span>#end
</td>
<td class="anchor uri"><a class="smooth" title="$anchor_uri" href="#${observationName}_warning_$uriCount">a</a></td>
Received on Wednesday, 21 July 2010 15:53:23 UTC