community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1685317 - /comdev/projects.apache.org/site/js/projects.js
Date Sat, 13 Jun 2015 20:22:08 GMT
Author: hboutemy
Date: Sat Jun 13 20:22:08 2015
New Revision: 1685317

URL: http://svn.apache.org/r1685317
Log:
display project short description when there is also a description

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=1685317&r1=1685316&r2=1685317&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat Jun 13 20:22:08 2015
@@ -315,7 +315,7 @@ function renderProjectPage(project, proj
     // Base data
     appendElementWithInnerHTML(obj,'h4',"Project base data:");
 
-    if (project.shortdesc) {
+    if (project.description && project.shortdesc) {
         appendLiInnerHTML(ul, "<b>Short description:</b> " + project.shortdesc);
     }
 



Mime
View raw message