community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1690469 - /comdev/projects.apache.org/site/js/projects.js
Date Sun, 12 Jul 2015 14:20:32 GMT
Author: hboutemy
Date: Sun Jul 12 14:20:32 2015
New Revision: 1690469

URL: http://svn.apache.org/r1690469
Log:
support 'version' or 'revision' to identify a release (both are used depending on project)

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=1690469&r1=1690468&r2=1690469&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sun Jul 12 14:20:32 2015
@@ -461,7 +461,7 @@ function renderProjectPage(project, proj
         var r;
         for (r in project.release) {
             r = project.release[r];
-            var html = "<b>" + r.revision + "</b>";
+            var html = "<b>" + (r.revision ? r.revision : r.version) + "</b>";
             if (r.created) {
                 html += " (" + r.created + ")";
             }



Mime
View raw message