diff --git a/app/views/graders/submission.html.haml b/app/views/graders/submission.html.haml --- a/app/views/graders/submission.html.haml +++ b/app/views/graders/submission.html.haml @@ -21,9 +21,9 @@ %br/ = "Comment: #{@submission.grader_comment}" %br/ - = "Runtime (ms): #{@submission.max_runtime}" + = "Runtime (s): #{@submission.max_runtime}" %br/ - = "Memory (kb): #{@submission.peak_memory}" + = "Memory (kb): #{number_with_delimiter(@submission.peak_memory)}" %b Source code (first 10kb) //%div.highlight{:style => "border: 1px solid black;"} diff --git a/app/views/report/_task_hof.html.haml b/app/views/report/_task_hof.html.haml --- a/app/views/report/_task_hof.html.haml +++ b/app/views/report/_task_hof.html.haml @@ -63,7 +63,7 @@ = "#{link_to("#" + value[:runtime][:sub_id].to_s, controller: 'graders' , action: 'submission', id: value[:runtime][:sub_id])} )".html_safe %td = link_to value[:memory][:user], controller: 'users', action: 'profile', id: value[:memory][:user_id] - = "(#{value[:memory][:value]} @" + = "(#{number_with_delimiter(value[:memory][:value])} @" = "#{link_to("#" + value[:memory][:sub_id].to_s, controller: 'graders' , action: 'submission', id: value[:memory][:sub_id])} )".html_safe %td = link_to value[:length][:user], controller: 'users', action: 'profile', id: value[:length][:user_id]