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 2018/01/19 12:41:56 UTC

svn commit: r1821645 - /jmeter/trunk/xdocs/stylesheets/website-style.xsl

Author: fschumacher
Date: Fri Jan 19 12:41:56 2018
New Revision: 1821645

URL: http://svn.apache.org/viewvc?rev=1821645&view=rev
Log:
Place a dash or comma behind a pr element, when needed.

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=1821645&r1=1821644&r2=1821645&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/website-style.xsl (original)
+++ jmeter/trunk/xdocs/stylesheets/website-style.xsl Fri Jan 19 12:41:56 2018
@@ -524,6 +524,19 @@
     -
   </xsl:template>
 
+  <xsl:template match="pr[following-sibling::pr or following-sibling::bug]">
+    <a href="https://github.com/apache/jmeter/pull/{./text()}">
+      Pull request #<xsl:value-of select="./text()" />
+    </a>,
+  </xsl:template>
+
+  <xsl:template match="pr[not(following-sibling::pr) and (not(preceding-sibling::*) or preceding-sibling::bug)]">
+    <a href="https://github.com/apache/jmeter/pull/{./text()}">
+      Pull request #<xsl:value-of select="./text()" />
+    </a>
+    -
+  </xsl:template>
+
   <xsl:template match="pr">
     <a href="https://github.com/apache/jmeter/pull/{./text()}">
       Pull request #<xsl:value-of select="./text()" />