You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2013/09/22 02:52:43 UTC
svn commit: r1525306 - in /jmeter/trunk/xdocs/stylesheets: site.vsl
site_printable.vsl
Author: sebb
Date: Sun Sep 22 00:52:42 2013
New Revision: 1525306
URL: http://svn.apache.org/r1525306
Log:
Allow for previous name of component in titles and index
Modified:
jmeter/trunk/xdocs/stylesheets/site.vsl
jmeter/trunk/xdocs/stylesheets/site_printable.vsl
Modified: jmeter/trunk/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site.vsl?rev=1525306&r1=1525305&r2=1525306&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site.vsl Sun Sep 22 00:52:42 2013
@@ -314,8 +314,14 @@ $node.getText()
<table border="0" cellspacing="0" cellpadding="2">
<tr><td>
<font face="arial,helvetica,sanserif">
+#set ($was = "")
+#set ($was = $component.getAttributeValue("was"))
+#if ("$!was" != "")
+<a name="$was.replace($space,$udsc)"></a>
+#set ($was = " (was: $was)")
+#end
<h3>
-<a name="$component.getAttributeValue("name").replace($space,$udsc)">$!component.getAttributeValue("index") $component.getAttributeValue("name")</a>
+<a name="$component.getAttributeValue("name").replace($space,$udsc)">$!component.getAttributeValue("index") $component.getAttributeValue("name")$!was</a>
#sectionlink ($component.getAttributeValue("name"))
</h3>
</font>
@@ -429,7 +435,11 @@ $node.getText()
<li><a href="#$sect.getAttributeValue("anchor")">$sect.getAttributeValue("name")</a></li>
<ul>
#foreach ($comp in $sect.getChildren("component"))
-<li><a href="#$comp.getAttributeValue("name").replace($space,$udsc)">$comp.getAttributeValue("name")</a></li>
+#set ($was = $comp.getAttributeValue("was"))
+#if ("$!was" != "")
+#set ($was = " (was: $was)")
+#end
+<li><a href="#$comp.getAttributeValue("name").replace($space,$udsc)">$comp.getAttributeValue("name")$!was</a></li>
#end
</ul>
#end
Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1525306&r1=1525305&r2=1525306&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Sun Sep 22 00:52:42 2013
@@ -307,8 +307,14 @@ $node.getText()
<table border="0" cellspacing="0" cellpadding="2">
<tr><td>
<font face="arial,helvetica,sanserif">
+#set ($was = "")
+#set ($was = $component.getAttributeValue("was"))
+#if ("$!was" != "")
+<a name="$was.replace($space,$udsc)"></a>
+#set ($was = " (was: $was)")
+#end
<h3>
-<a name="$component.getAttributeValue("name").replace($space,$udsc)">$!component.getAttributeValue("index") $component.getAttributeValue("name")</a>
+<a name="$component.getAttributeValue("name").replace($space,$udsc)">$!component.getAttributeValue("index") $component.getAttributeValue("name")$!was</a>
</h3>
</font>
</td></tr>
@@ -436,7 +442,11 @@ $node.getText()
#if ("$!index2" == "yes")
$comp.getAttributeValue("index")
#end
-<a href="#$comp.getAttributeValue("name").replace($space,$udsc)">$comp.getAttributeValue("name")</a></li>
+#set ($was = $comp.getAttributeValue("was"))
+#if ("$!was" != "")
+#set ($was = " (was: $was)")
+#end
+<a href="#$comp.getAttributeValue("name").replace($space,$udsc)">$comp.getAttributeValue("name")$!was</a></li>
#end
</ul>
#end