Author: milamber
Date: Sat Oct 12 18:19:29 2013
New Revision: 1531569
URL: http://svn.apache.org/r1531569
Log:
Add new macros for Changes pages (ch_section, ch_category, ch_title)
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=1531569&r1=1531568&r2=1531569&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site.vsl Sat Oct 12 18:19:29 2013
@@ -240,6 +240,21 @@ No
Contributed by $id.getAttributeValue("name")
<$id.getAttributeValue("mail")>
#end
+#macro ( ch_section $section)
+<br/><br/><table width="100%" cellpadding="3" cellspacing="2"
bgcolor="$bodylink" border="0">
+<tr><td><font color="white" face="Helvetica, Arial,
sans-serif"><b><big><big><a
name="$section.getText()">$section.getText()</a></big></big></b></font></td></tr></table><br/>
+#end
+
+#macro ( ch_category $category)
+<br/><br/><table width="90%" cellpadding="2" cellspacing="2"
bgcolor="$subbannerbg" border="0">
+<tr><td><font color="white" face="Helvetica, Arial,
sans-serif"><b><big>$category.getText()</big></b></font></td></tr></table><br/>
+#end
+
+#macro ( ch_title $title)
+<br/><table width="80%" cellpadding="1" cellspacing="2" bgcolor="$subbannerbg"
border="0">
+<tr><td><font color="white" face="Helvetica, Arial,
sans-serif">$title.getText()</font></td></tr></table>
+#end
+
#macro (unknown $node)
#if($node.getName() == "note")
#note($node)
@@ -267,6 +282,12 @@ Contributed by $id.getAttributeValue("na
#bugzilla ($node)
#elseif ($node.getName().equals("contributor"))
#contributor ($node)
+#elseif ($node.getName().equals("ch_section"))
+#ch_section ($node)
+#elseif ($node.getName().equals("ch_category"))
+#ch_category ($node)
+#elseif ($node.getName().equals("ch_title"))
+#ch_title ($node)
#else
#outputTag($node)
#runloop($node)
@@ -544,3 +565,4 @@ trademarks of the Apache Software Founda
</body>
</html>
#end
+
Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL:
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1531569&r1=1531568&r2=1531569&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Sat Oct 12 18:19:29 2013
@@ -233,6 +233,21 @@ No
Contributed by $id.getAttributeValue("name")
<$id.getAttributeValue("mail")>
#end
+#macro ( ch_section $section)
+<br/><br/><table width="100%" cellpadding="3" cellspacing="2"
bgcolor="$bodylink" border="0">
+<tr><td><font color="white" face="Helvetica, Arial,
sans-serif"><b><big><big><a
name="$section.getText()">$section.getText()</a></big></big></b></font></td></tr></table><br/>
+#end
+
+#macro ( ch_category $category)
+<br/><br/><table width="90%" cellpadding="2" cellspacing="2"
bgcolor="$subbannerbg" border="0">
+<tr><td><font color="white" face="Helvetica, Arial,
sans-serif"><b><big>$category.getText()</big></b></font></td></tr></table><br/>
+#end
+
+#macro ( ch_title $title)
+<br/><table width="80%" cellpadding="1" cellspacing="2" bgcolor="$subbannerbg"
border="0">
+<tr><td><font color="white" face="Helvetica, Arial,
sans-serif">$title.getText()</font></td></tr></table>
+#end
+
#macro (unknown $node)
#if($node.getName() == "note")
#note($node)
@@ -260,6 +275,12 @@ Contributed by $id.getAttributeValue("na
#bugzilla ($node)
#elseif ($node.getName().equals("contributor"))
#contributor ($node)
+#elseif ($node.getName().equals("ch_section"))
+#ch_section ($node)
+#elseif ($node.getName().equals("ch_category"))
+#ch_category ($node)
+#elseif ($node.getName().equals("ch_title"))
+#ch_title ($node)
#else
#outputTag($node)
#runloop($node)