Author: bayard
Date: Sun Jan 1 21:11:50 2017
New Revision: 1776877
URL: http://svn.apache.org/viewvc?rev=1776877&view=rev
Log:
Adding support to override the key in the resource table
Modified:
attic/site/xdocs/stylesheets/site.vsl
Modified: attic/site/xdocs/stylesheets/site.vsl
URL:
http://svn.apache.org/viewvc/attic/site/xdocs/stylesheets/site.vsl?rev=1776877&r1=1776876&r2=1776877&view=diff
==============================================================================
--- attic/site/xdocs/stylesheets/site.vsl (original)
+++ attic/site/xdocs/stylesheets/site.vsl Sun Jan 1 21:11:50 2017
@@ -84,7 +84,10 @@
#if($elem.getChild("jira"))
<tr>
<td>Issue Tracker</td>
-#if ($elem.getAttributeValue("subproject"))
+#if ($elem.getChild("jira").getAttributeValue("key"))
+#set ($key = $elem.getChild("jira").getAttributeValue("key"))
+ <td><a href="https://issues.apache.org/jira/browse/${key}/">JIRA</a></td>
+#elseif ($elem.getAttributeValue("subproject"))
<td><a
href="https://issues.apache.org/jira/browse/${subproj}/">JIRA</a></td>
#else
<td><a
href="https://issues.apache.org/jira/browse/${proj}/">JIRA</a></td>