You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/03/25 14:21:10 UTC

svn commit: r388750 - /jakarta/jmeter/branches/rel-2-1/xdocs/stylesheets/site_printable.vsl

Author: sebb
Date: Sat Mar 25 05:21:09 2006
New Revision: 388750

URL: http://svn.apache.org/viewcvs?rev=388750&view=rev
Log:
Copy deprecation code from site.vsl
add optional numbers to second level index

Modified:
    jakarta/jmeter/branches/rel-2-1/xdocs/stylesheets/site_printable.vsl

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/stylesheets/site_printable.vsl?rev=388750&r1=388749&r2=388750&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/stylesheets/site_printable.vsl (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/stylesheets/site_printable.vsl Sat Mar 25 05:21:09 2006
@@ -276,6 +276,9 @@
 			 <a name="$component.getAttributeValue("name").replace($space,$udsc)"><h3>$!component.getAttributeValue("index") $component.getAttributeValue("name")</h3></a>
 		  </font>
 		</td></tr>
+		#if($component.getAttribute("useinstead"))
+			<tr><td><em>* - This element is deprecated.  Use <a href="$relativePath/usermanual/component_reference.html#$component.getAttributeValue("useinstead").replace($space,$udsc)">$component.getAttributeValue("useinstead")</a> instead</td></tr>
+		#end
 		<tr><td>
 		  #foreach ( $items in $component.getChildren() )
 				#if ($items.getName().equals("description"))
@@ -376,6 +379,8 @@
 
 #macro (makeIndex $subsections)
 #set ($level2 = $root.getAttributeValue("index-level-2"))
+<!-- Show we display numbers for index level 2 ? (useful for checking numbering) -->
+#set ($index2 = $root.getAttributeValue("index-numbers"))
 #set ($colbreak = $root.getAttributeValue("colbreak"))
 #if  ("$!colbreak" != "")
 <table width="100%">
@@ -390,7 +395,11 @@
 		#if ("$!level2" != "no")
 		<ul>
 		#foreach ($comp in $sect.getChildren("component"))
-			<li><a href="#$comp.getAttributeValue("name").replace($space,$udsc)">$comp.getAttributeValue("name")</a></li>
+			<li>
+			#if ("$!index2" == "yes")
+			$comp.getAttributeValue("index")
+			#end
+			<a href="#$comp.getAttributeValue("name").replace($space,$udsc)">$comp.getAttributeValue("name")</a></li>
 		#end
 		</ul>
 		#end



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org