All top & activity report apis

This commit is contained in:
2015-03-08 21:35:25 +07:00
parent e6f934c5dc
commit 132a726744
5 changed files with 126 additions and 13 deletions
+4 -1
View File
@@ -80,7 +80,10 @@ var OrgStats = React.createClass({
var TeamStats = React.createClass({
mixins: [Router.Navigation, Router.State],
render: function(){
var topRepos = "/api/stat/teams/top?org="+ this.getParams().org +"&team="+ this.getParams().team +"&item=repo",
var topRepos = "/api/stat/teams/top"+
"?org="+ this.getParams().org +
"&team="+ this.getParams().team +
"&item=repo",
repoURL = "/app/"+ this.getParams().org +"/repos/";
return (
<section className="content">