community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1685307 - /comdev/projects.apache.org/site/js/projects.js
Date Sat, 13 Jun 2015 19:29:56 GMT
Author: hboutemy
Date: Sat Jun 13 19:29:56 2015
New Revision: 1685307

URL: http://svn.apache.org/r1685307
Log:
added download link to project page

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=1685307&r1=1685306&r2=1685307&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat Jun 13 19:29:56 2015
@@ -336,6 +336,9 @@ function renderProjectPage(project, proj
     } else {
         appendLiInnerHTML(ul, "<b>Project status:</b> <span class='pretired'>Retired</span>");
     }
+    if (project['download-page']) {
+        appendLiInnerHTML(ul, "<b>Download:</b> <a href='" + project['download-page']
+ "' target='_blank'>" + project['download-page'] + "</a>");
+    }
 
     // Committers
     if (isIncubating && unixgroups[unixgroup]) {



Mime
View raw message