new link to the file page

This commit is contained in:
Peter Hedenskog 2012-08-09 16:02:00 +02:00
parent 1a5167ffac
commit 5221b4f455
1 changed files with 4 additions and 7 deletions

View File

@ -72,19 +72,16 @@
<tr>
<td>
#*
TODO: The creation of the file link needs to be cleaned up
*#
#set($file = $results.getChild("u").getValue().replaceAll("\/", ""))
#set($file = $file.replaceAll("http:", ""))
#set($file = $file.replaceAll("https:", ""))
#set($file = $results.getAttribute("filename").getValue())
#set($file = $file.concat(".html"))
<a href="$file">$results.getChild("u").getValue()</a>
<a rel="tooltip" data-placement="right" data-html="true" href="$file" data-original-title="Response headers: <br/>
#foreach ($response in $results.getChild("comps").getChild("item").getChild("headers").getChild("response").getChildren())
$esc.html($response.getName()) : $esc.html($response.getValue()) <br/>
#end
"><i class="icon-zoom-in"></i></a>
"><i class="icon-zoom-in"></i></a>
</td>
<td>
#if($!{results.getChild("stats").getChild("js").getChild("r")})