community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1683003 - /comdev/projects.apache.org/site/js/projects.js
Date Mon, 01 Jun 2015 21:02:46 GMT
Author: hboutemy
Date: Mon Jun  1 21:02:45 2015
New Revision: 1683003

URL: http://svn.apache.org/r1683003
Log:
DOAP maintainer is not always a committer

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=1683003&r1=1683002&r2=1683003&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Mon Jun  1 21:02:45 2015
@@ -363,7 +363,11 @@ function renderProjectPage(project, proj
                 var id = mt.mbox;
                 id = id.substr(id.indexOf(':') + 1);
                 id = id.substr(0, id.indexOf('@'));
-                maintainers += linkCommitterIndex(id) + "  ";
+                if (people[id]) {
+                    maintainers += linkCommitterIndex(id) + "  ";
+                } else {
+                    maintainers += "<a href='" + mt.mbox + "'>" + mt.name + "</a>&nbsp;
";
+                }
             } else {
                 maintainers += mt.name + "&nbsp; ";
             }



Mime
View raw message