Link project and committee pages to comdev-metrics activity dashboard

git-svn-id: https://svn.apache.org/repos/asf/comdev/projects.apache.org/trunk@1938333 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/site/js/projects.js b/site/js/projects.js
index df03dfc..88c2bb8 100644
--- a/site/js/projects.js
+++ b/site/js/projects.js
@@ -278,6 +278,9 @@
     } else {
         appendLiInnerHTML(ul, "<b>Project data file:</b> no <a href='https://projects.apache.org/create.html'>DOAP file</a> available");
     }
+    // Activity metrics
+    appendLiInnerHTML(ul, "<b>Activity metrics:</b> <a href='https://apache.github.io/comdev-metrics/project.html?id=" + projectId + "' target='_blank'>View on comdev-metrics</a>");
+
     // maintainer
     if (project.maintainer) {
         var mt;
@@ -479,6 +482,9 @@
     if (committee.rdf) {
         appendLiInnerHTML(ul, "<b>PMC data file:</b> <a href='" + committee.rdf + "' target='_blank'>RDF Source</a>");
     }
+    // Activity metrics
+    appendLiInnerHTML(ul, "<b>Activity metrics:</b> <a href='https://apache.github.io/comdev-metrics/project.html?id=" + committeeId + "' target='_blank'>View on comdev-metrics</a>");
+
 
     obj.appendChild(ul);