jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1643360 - in /jmeter/trunk/xdocs/stylesheets: site.vsl site_printable.vsl
Date Fri, 05 Dec 2014 17:27:04 GMT
Author: sebb
Date: Fri Dec  5 17:27:03 2014
New Revision: 1643360

URL: http://svn.apache.org/r1643360
Log:
Add 'bug' macro to simnplify changes file - no need to add " - " separator
bugzilla macro is still needed to generate Bugzilla links without the suffix text

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

Modified: jmeter/trunk/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site.vsl?rev=1643360&r1=1643359&r2=1643360&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site.vsl Fri Dec  5 17:27:03 2014
@@ -236,6 +236,11 @@ No
 <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=$id.getText()">Bug $id.getText()</a>
 #end
 
+## Shorthand - automatically adds " - " before remaining text
+#macro ( bug $id)
+#bugzilla($id) - ##
+#end
+
 #macro ( contributor $id)
 Contributed by $id.getAttributeValue("name") &lt;$id.getAttributeValue("mail")&gt;
 #end
@@ -280,6 +285,8 @@ Contributed by $id.getAttributeValue("na
 #scope ($node)
 #elseif ($node.getName().equals("bugzilla"))
 #bugzilla ($node)
+#elseif ($node.getName().equals("bug"))
+#bug ($node)
 #elseif ($node.getName().equals("contributor"))
 #contributor ($node)
 #elseif ($node.getName().equals("ch_section"))

Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1643360&r1=1643359&r2=1643360&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Fri Dec  5 17:27:03 2014
@@ -229,6 +229,11 @@ No
 <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=$id.getText()">Bug $id.getText()</a>
 #end
 
+## Shorthand - automatically adds " - " before remaining text
+#macro ( bug $id)
+#bugzilla($id) - ##
+#end
+
 #macro ( contributor $id)
 Contributed by $id.getAttributeValue("name") &lt;$id.getAttributeValue("mail")&gt;
 #end
@@ -273,6 +278,8 @@ Contributed by $id.getAttributeValue("na
 #scope ($node)
 #elseif ($node.getName().equals("bugzilla"))
 #bugzilla ($node)
+#elseif ($node.getName().equals("bug"))
+#bug ($node)
 #elseif ($node.getName().equals("contributor"))
 #contributor ($node)
 #elseif ($node.getName().equals("ch_section"))



Mime
View raw message