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 2016/07/13 18:58:31 UTC

svn commit: r1752517 - in /jmeter/trunk/xdocs: changes.xml stylesheets/site_printable.vsl stylesheets/website-style.xsl

Author: fschumacher
Date: Wed Jul 13 18:58:31 2016
New Revision: 1752517

URL: http://svn.apache.org/viewvc?rev=1752517&view=rev
Log:
Add tag for 'pull requests' from github

Modified:
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/stylesheets/site_printable.vsl
    jmeter/trunk/xdocs/stylesheets/website-style.xsl

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1752517&r1=1752516&r2=1752517&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Wed Jul 13 18:58:31 2016
@@ -84,7 +84,7 @@ Summary
 
 <h3>Other samplers</h3>
 <ul>
-    <li>PR 211. Differentiate the timing for JDBC Sampler. Use latency and connect time.
+    <li><pr>211</pr>Differentiate the timing for JDBC Sampler. Use latency and connect time.
     Contributed by Thomas Peyrard (thomas.peyrard at murex.com)</li>
 </ul>
 
@@ -109,7 +109,7 @@ Summary
 
 <h3>I18N</h3>
 <ul>
-    <li>PR 214. Add spanish translation for delayed starting of threads. Contributed by Asier Lostalé.</li>
+    <li><pr>214</pr>Add spanish translation for delayed starting of threads. Contributed by Asier Lostalé.</li>
 </ul>
 
 <h3>General</h3>

Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1752517&r1=1752516&r2=1752517&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Wed Jul 13 18:58:31 2016
@@ -233,6 +233,10 @@ No
 <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=$id.getText()">Bug $id.getText()</a>
 #end
 
+#macro ( pr $id)
+<a href="https://github.com/apache/jmeter/pull/$id.getText()">Pull request #$id.getText()</a> - ##
+#end
+
 ## Shorthand - automatically adds " - " before remaining text
 #macro ( bug $id)
 #bugzilla($id) - ##
@@ -286,6 +290,8 @@ Contributed by $id.getAttributeValue("na
 #bugzilla ($node)
 #elseif ($node.getName().equals("bug"))
 #bug ($node)
+#elseif ($node.getName().equals("pr"))
+#pr ($node)
 #elseif ($node.getName().equals("contributor"))
 #contributor ($node)
 #elseif ($node.getName().equals("ch_section"))

Modified: jmeter/trunk/xdocs/stylesheets/website-style.xsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/website-style.xsl?rev=1752517&r1=1752516&r2=1752517&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/website-style.xsl (original)
+++ jmeter/trunk/xdocs/stylesheets/website-style.xsl Wed Jul 13 18:58:31 2016
@@ -509,6 +509,13 @@
     -
   </xsl:template>
 
+  <xsl:template match="pr">
+    <a href="https://github.com/apache/jmeter/pull/{./text()}">
+      Pull request #<xsl:value-of select="./text()" />
+    </a>
+    -
+  </xsl:template>
+
   <xsl:template match="links">
     <div class="links">
       <div class="title">See also:</div>