jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1707860 - /jmeter/trunk/xdocs/stylesheets/website-style.xsl
Date Sat, 10 Oct 2015 11:21:01 GMT
Author: fschumacher
Date: Sat Oct 10 11:21:00 2015
New Revision: 1707860

URL: http://svn.apache.org/viewvc?rev=1707860&view=rev
Log:
Place screenshots of the control panel after the description. That is the same place as in
the printable documentation.

Modified:
    jmeter/trunk/xdocs/stylesheets/website-style.xsl

Modified: jmeter/trunk/xdocs/stylesheets/website-style.xsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/website-style.xsl?rev=1707860&r1=1707859&r2=1707860&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/website-style.xsl (original)
+++ jmeter/trunk/xdocs/stylesheets/website-style.xsl Sat Oct 10 11:21:00 2015
@@ -365,18 +365,22 @@
           instead ***
         </div>
       </xsl:if>
+      <xsl:apply-templates select="description" />
       <xsl:if test="@screenshot != ''">
         <div class="screenshot">
-          <xsl:call-template name="image">
-            <xsl:with-param name="srcdir" select="$sshotdir" />
-            <xsl:with-param name="image" select="@screenshot" />
-            <xsl:with-param name="width" select="@width" />
-            <xsl:with-param name="height" select="@height" />
-            <xsl:with-param name="alt" select="concat('Screenshot for ', @name)" />
-          </xsl:call-template>
+          <figure>
+            <xsl:call-template name="image">
+              <xsl:with-param name="srcdir" select="$sshotdir" />
+              <xsl:with-param name="image" select="@screenshot" />
+              <xsl:with-param name="width" select="@width" />
+              <xsl:with-param name="height" select="@height" />
+              <xsl:with-param name="alt" select="concat('Screenshot for Control-Panel
of ', @name)" />
+            </xsl:call-template>
+            <figcaption>Screenshot of Control-Panel of <xsl:value-of select="@name"/></figcaption>
+          </figure>
         </div>
       </xsl:if>
-      <xsl:apply-templates />
+      <xsl:apply-templates select="*[not(self::description)]" />
       <div class="go-top">
         <a href="#">^</a>
       </div>



Mime
View raw message