diff --git a/app/views/user_admin/list.html.erb b/app/views/user_admin/list.html.erb
--- a/app/views/user_admin/list.html.erb
+++ b/app/views/user_admin/list.html.erb
@@ -68,8 +68,9 @@
<% for user in @users %>
">
+ <%= link_to user.login, controller: :users, :action => 'profile', :id => user %> |
<% for column in User.content_columns %>
- <% if !@hidden_columns.index(column.name) %>
+ <% if !@hidden_columns.index(column.name) and column.name != 'login' %>
<%=h user.send(column.name) %> |
<% end %>
<% end %>
diff --git a/app/views/users/profile.html.haml b/app/views/users/profile.html.haml
--- a/app/views/users/profile.html.haml
+++ b/app/views/users/profile.html.haml
@@ -3,7 +3,7 @@
%script{:type=>"text/javascript"}
$(function () {
- $('#submission_table').tablesorter({widgets: ['zebra','filter']});
+ $('#submission_table').tablesorter({widgets: ['zebra']});
});
:css
@@ -27,8 +27,9 @@
%tr
%th ID
%th Problem code
- %th Problem name
+ %th Problem full name
%th Language
+ %th Submitted at
%th Result
%th Score
- if session[:admin]
@@ -41,6 +42,7 @@
%td= s.problem.name
%td= s.problem.full_name
%td= s.language.pretty_name
+ %td #{s.submitted_at.strftime('%Y-%m-%d %H:%M')} (#{time_ago_in_words(s.submitted_at)} ago)
%td.fix-width= s.grader_comment
%td= (s.points*100)/s.problem.full_score
- if session[:admin]