You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hb...@apache.org on 2015/06/13 21:49:48 UTC
svn commit: r1685314 - /comdev/projects.apache.org/site/js/projects.js
Author: hboutemy
Date: Sat Jun 13 19:49:48 2015
New Revision: 1685314
URL: http://svn.apache.org/r1685314
Log:
repositories are part of development section
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=1685314&r1=1685313&r2=1685314&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat Jun 13 19:49:48 2015
@@ -410,26 +410,23 @@ function renderProjectPage(project, proj
appendLiInnerHTML(ul, "<b>Mailing list(s):</b> <a href='" + xbd + "'>" + bd + "</a>");
}
- obj.appendChild(ul);
-
// repositories
- appendElementWithInnerHTML(obj,'h4',"Repositories:");
if (project.repository) {
- ul = document.createElement('ul');
var r;
for (r in project.repository) {
r = project.repository[r];
if (r.indexOf("svn") > 0) {
- appendLiInnerHTML(ul, "<b>Subversion:</b> <a target=*_blank' href='" + r + "'>" + r + "</a>");
+ appendLiInnerHTML(ul, "<b>Subversion repository:</b> <a target=*_blank' href='" + r + "'>" + r + "</a>");
} else if (r.indexOf("git") > 0) {
- appendLiInnerHTML(ul, "<b>Git:</b> <a target=*_blank' href='" + r + "'>" + r + "</a>");
+ appendLiInnerHTML(ul, "<b>Git repository:</b> <a target=*_blank' href='" + r + "'>" + r + "</a>");
} else {
- appendLiInnerHTML(ul, "<b>repository:</b> <a target=*_blank' href='" + r + "'>" + r + "</a>");
+ appendLiInnerHTML(ul, "<b>Repository:</b> <a target=*_blank' href='" + r + "'>" + r + "</a>");
}
}
- obj.appendChild(ul);
}
+ obj.appendChild(ul);
+
// releases
appendElementWithInnerHTML(obj,'h4',"Releases:");
ul = document.createElement('ul');