community-commits mailing list archives

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

URL: http://svn.apache.org/r1685309
Log:
added shot description information 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=1685309&r1=1685308&r2=1685309&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat Jun 13 19:34:50 2015
@@ -314,9 +314,13 @@ function renderProjectPage(project, proj
     // Base data
     appendElementWithInnerHTML(obj,'h4',"Project base data:");
 
+    if (project.shortdesc) {
+        appendLiInnerHTML(ul, "<b>Short description:</b> " + project.shortdesc);
+    }
+
     // Categories
-    if (project['category']) {
-        var arr = project['category'].split(/,\s*/);
+    if (project.category) {
+        var arr = project.category.split(/,\s*/);
         var pls = "";
         for (i in arr) {
             var cat = arr[i];



Mime
View raw message