jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1785010 - /jmeter/trunk/xdocs/stylesheets/site_printable.vsl
Date Wed, 01 Mar 2017 17:35:57 GMT
Author: fschumacher
Date: Wed Mar  1 17:35:57 2017
New Revision: 1785010

URL: http://svn.apache.org/viewvc?rev=1785010&view=rev
Log:
Generate unordered list only when it will not be empty.

Modified:
    jmeter/trunk/xdocs/stylesheets/site_printable.vsl

Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1785010&r1=1785009&r2=1785010&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Wed Mar  1 17:35:57 2017
@@ -509,7 +509,7 @@ $escape.getText($node.getText())
 </ul></td><td valign="top"><ul>
 #end
 <li><a href="#$sect.getAttributeValue("anchor")">$sect.getAttributeValue("name")</a></li>
-#if ("$!level2" != "no")
+#if ("$!level2" != "no" and !$sect.getChildren().isEmpty())
 <ul>
 #foreach ($comp in $sect.getChildren("component"))
 <li>



Mime
View raw message