|
|
|
@ -4,13 +4,14 @@
|
|
|
|
|
<% users = User.all%>
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>name</th><th>C</th><th>I</th><th>S</th><th>filecount</th><th>issuecount</th><th>level</th>
|
|
|
|
|
<th>id</th><th>name</th><th>C</th><th>I</th><th>S</th><th>filecount</th><th>issuecount</th><th>level</th><th>attachconut</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<% users.each do |user| %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td><%= user.id %></td>
|
|
|
|
|
<td><%= user.lastname %><%= user.firstname %></td>
|
|
|
|
|
<td><%= calculate_collaboration_count(user) %></td>
|
|
|
|
|
<td><%= calculate_influence_count(user) %></td>
|
|
|
|
@ -18,6 +19,7 @@
|
|
|
|
|
<td><%= calculate_file(user) %></td>
|
|
|
|
|
<td><%= calculate_issue(user) %></td>
|
|
|
|
|
<td><%= calculate_level(user) %></td>
|
|
|
|
|
<td><%= calculate_attachments(user) %></td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
<% end %>
|
|
|
|
|