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

31 lines
648 B
Plaintext
Raw Normal View History

2013-12-25 09:17:15 +08:00
<h3>test</h3>
2014-04-22 09:54:56 +08:00
2014-05-06 15:15:29 +08:00
<% user = User.find(1)%>
2014-04-22 14:53:25 +08:00
<table>
<tr>
2014-05-05 10:03:13 +08:00
<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>
2014-04-22 14:53:25 +08:00
</tr>
2014-05-06 15:15:29 +08:00
2014-04-22 09:54:56 +08:00
2014-04-22 14:53:25 +08:00
<tr>
2014-05-05 10:03:13 +08:00
<td><%= user.id %></td>
2014-04-22 14:53:25 +08:00
<td><%= user.lastname %><%= user.firstname %></td>
2014-04-30 13:51:19 +08:00
<td><%= calculate_collaboration_count(user) %></td>
2014-04-22 14:53:25 +08:00
<td><%= calculate_influence_count(user) %></td>
<td><%= calculate_skill_count(user) %></td>
2014-04-30 13:51:19 +08:00
<td><%= calculate_file(user) %></td>
<td><%= calculate_issue(user) %></td>
<td><%= calculate_level(user) %></td>
2014-05-05 10:03:13 +08:00
<td><%= calculate_attachments(user) %></td>
2014-04-30 09:13:05 +08:00
2014-04-22 14:53:25 +08:00
</tr>
2014-05-06 15:15:29 +08:00
2014-04-22 14:53:25 +08:00
</table>
2014-04-22 09:54:56 +08:00
2014-02-24 15:00:03 +08:00
<hr/>
<hr/>
2013-08-01 10:33:49 +08:00