You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2017/03/01 17:35:57 UTC
svn commit: r1785010 - /jmeter/trunk/xdocs/stylesheets/site_printable.vsl
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>