Description:
added show login in problem stat view git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@362 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r165:cd2dcf43475d - - 1 file changed: 3 inserted, 1 deleted

@@ -5,7 +5,8
5 <% if @submissions!=nil %>
5 <% if @submissions!=nil %>
6 <table class="info">
6 <table class="info">
7 <tr class="info-head">
7 <tr class="info-head">
8 - <th>user_id</th>
8 + <th>login</th>
9 + <th>name</th>
9 <th>submitted_at</th>
10 <th>submitted_at</th>
10 <th>points</th>
11 <th>points</th>
11 <th>comment</th>
12 <th>comment</th>
@@ -13,6 +14,7
13 <% count = 0 %>
14 <% count = 0 %>
14 <% @submissions.each do |sub| %>
15 <% @submissions.each do |sub| %>
15 <tr class="<%= (count % 2 ==0) ? "info-even" : "info-odd" %>">
16 <tr class="<%= (count % 2 ==0) ? "info-even" : "info-odd" %>">
17 + <td><%= sub.user.login %></td>
16 <td><%= sub.user.full_name if sub.user %></td>
18 <td><%= sub.user.full_name if sub.user %></td>
17 <td><%= sub.submitted_at.to_s %></td>
19 <td><%= sub.submitted_at.to_s %></td>
18 <td><%= sub.points %></td>
20 <td><%= sub.points %></td>
You need to be logged in to leave comments. Login now