community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1704403 - /comdev/projects.apache.org/site/js/projects.js
Date Mon, 21 Sep 2015 19:31:15 GMT
Author: sebb
Date: Mon Sep 21 19:31:15 2015
New Revision: 1704403

URL: http://svn.apache.org/viewvc?rev=1704403&view=rev
Log:
Link to minutes does not work currently for Climate or Logging or ComDev
Use Display name, and fix up exceptions

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1704403&r1=1704402&r2=1704403&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Mon Sep 21 19:31:15 2015
@@ -507,7 +507,14 @@ function renderCommitteePage(committeeId
 
     // Reporting cycle
     var cycles = ["every month", "January, April, July, October", "February, May, August,
November", "March, June, September, December"];
-    appendLiInnerHTML(ul, "<b>Reporting cycle:</b> " + cycles[committee.reporting]
+ ", see <a href='https://whimsy.apache.org/board/minutes/" + camelCase(committeeId) +
".html'>minutes</a>");
+    var minutes = committee.name.substr("Apache ".length).replace(/ /g, '_');
+    // does not work for APR and Logging Services currently
+    if (committeeId == 'apr') {
+        minutes = 'Apr';
+    } else if (committeeId == 'logging') {
+        minutes = 'Logging';
+    }
+    appendLiInnerHTML(ul, "<b>Reporting cycle:</b> " + cycles[committee.reporting]
+ ", see <a href='https://whimsy.apache.org/board/minutes/" + minutes + ".html'>minutes</a>");
 
     // PMC
     if (unixgroups[unixgroup + "-pmc"]) {



Mime
View raw message