Author: bayard
Date: Sun Apr 10 23:48:47 2016
New Revision: 1738494
URL: http://svn.apache.org/viewvc?rev=1738494&view=rev
Log:
Adding support for hiding the dev mailing list
Modified:
attic/site/docs/projects/xml.html
attic/site/xdocs/projects/xml.xml
attic/site/xdocs/stylesheets/site.vsl
Modified: attic/site/docs/projects/xml.html
URL:
http://svn.apache.org/viewvc/attic/site/docs/projects/xml.html?rev=1738494&r1=1738493&r2=1738494&view=diff
==============================================================================
--- attic/site/docs/projects/xml.html (original)
+++ attic/site/docs/projects/xml.html Sun Apr 10 23:48:47 2016
@@ -65,7 +65,7 @@
<tr>
<td>Mailing List Archives</td>
<td>
- <a href="http://mail-archives.apache.org/mod_mbox/xml-dev/">dev</a>
+ <!-- hiding dev list -->
| <a
href="http://mail-archives.apache.org/mod_mbox/xml-announcements/">announcements</a>
| <a
href="http://mail-archives.apache.org/mod_mbox/xml-general/">general</a>
| <a
href="http://mail-archives.apache.org/mod_mbox/xml-general-cvs/">general-cvs</a>
Modified: attic/site/xdocs/projects/xml.xml
URL:
http://svn.apache.org/viewvc/attic/site/xdocs/projects/xml.xml?rev=1738494&r1=1738493&r2=1738494&view=diff
==============================================================================
--- attic/site/xdocs/projects/xml.xml (original)
+++ attic/site/xdocs/projects/xml.xml Sun Apr 10 23:48:47 2016
@@ -33,7 +33,7 @@
<p>In April 2012, the XML project was retired as all of its subprojects
had either become their own projects or been retired. </p>
- <resource_table project="xml" hide_keys="true">
+ <resource_table project="xml" hide_keys="true" hide_dev="true">
<mail name="announcements"/>
<mail name="general"/>
<mail name="general-cvs"/>
Modified: attic/site/xdocs/stylesheets/site.vsl
URL:
http://svn.apache.org/viewvc/attic/site/xdocs/stylesheets/site.vsl?rev=1738494&r1=1738493&r2=1738494&view=diff
==============================================================================
--- attic/site/xdocs/stylesheets/site.vsl (original)
+++ attic/site/xdocs/stylesheets/site.vsl Sun Apr 10 23:48:47 2016
@@ -32,10 +32,11 @@
##
## ** resource_table macro **
##
-## <resource_table project="NAME_OF_PROJECT"
subproject="OPTIONAL_NAME_OF_SUBPROJECT">
+## <resource_table project="NAME_OF_PROJECT"
subproject="OPTIONAL_NAME_OF_SUBPROJECT" hide_keys="true|false"
hide_dev="true|false">
## <mail name='MAIL_NAME: eg user/dev/commits'/>
## <jira/> OR <bugzilla/>
## <moin/> OR <cwiki/>
+## <svn/>
## </resource_table>
##
## Project website, downloads, board minutes (unless subproject)
@@ -67,7 +68,11 @@
<tr>
<td>Mailing List Archives</td>
<td>
+#if($elem.getAttributeValue("hide_dev"))
+ <!-- hiding dev list -->
+#else
<a
href="http://mail-archives.apache.org/mod_mbox/${full_dash}-dev/">dev</a>
+#end
#set ($mail_links = $elem.getChildren("mail"))
#foreach ( $mail_link in $mail_links )
#set ($mail_name = $mail_link.getAttributeValue('name'))