diff --git a/app/scripts/src/charts/bar_chart.jsx b/app/scripts/src/charts/bar_chart.jsx index 0d57828..9fa6ba8 100644 --- a/app/scripts/src/charts/bar_chart.jsx +++ b/app/scripts/src/charts/bar_chart.jsx @@ -96,8 +96,31 @@ var BarChart = React.createClass({ }, render: function() { + var words = { + items: { + repo: 'repositories', + team: 'teams', + user: 'contributors' + }, + item: { + repo: 'repository', + team: 'team', + user: 'author' + }, + actions: { + repo: 'which were the most attended by', + team: 'which were the most active working on', + user: 'which were the most active working on' + } + }, + who = this.getParams().repo || this.getParams().team || this.getParams().user || this.getParams().org, + params = Object.keys(this.getParams()); + params.splice(params.indexOf('org'), 1); return (