socialforge/app/views/test/index.html.erb

31 lines
648 B
Plaintext

<h3>test</h3>
<% user = User.find(1)%>
<table>
<tr>
<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>
<tr>
<td><%= user.id %></td>
<td><%= user.lastname %><%= user.firstname %></td>
<td><%= calculate_collaboration_count(user) %></td>
<td><%= calculate_influence_count(user) %></td>
<td><%= calculate_skill_count(user) %></td>
<td><%= calculate_file(user) %></td>
<td><%= calculate_issue(user) %></td>
<td><%= calculate_level(user) %></td>
<td><%= calculate_attachments(user) %></td>
</tr>
</table>
<hr/>
<hr/>