<%= link_to team.name, team_path(team)%>


<%= team.users.count_active_developers(@start_date, @end_date) %> / <%= team.users.count_active_reviewers(@start_date, @end_date) %>
<%= team.pull_request_count %>
<% if team.users.count_active_developers(@start_date, @end_date) != 0 %> <%= (team.pull_request_count.to_f / team.users.count_active_developers(@start_date, @end_date).to_f).round(2) %> <% else %> <%= 0 %> <% end %>
<%= team.comment_count %>
<% if team.users.count_active_reviewers(@start_date, @end_date) != 0 %> <%= (team.comment_count.to_f / team.users.count_active_reviewers(@start_date, @end_date).to_f).round(2) %> <% else %> <%= 0 %> <% end %>