Show More
Commit Description:
move datatable to yarn
Commit Description:
move datatable to yarn
References:
File last commit:
Show/Diff file:
Action:
app/views/report/submission_query.json.jbuilder
| 18 lines
| 483 B
| text/plain
| TextLexer
|
r788 | json.draw params['draw']&.to_i | |||
json.recordsTotal @recordsTotal | ||||
json.recordsFiltered @recordsFiltered | ||||
json.data do | ||||
json.array! @submissions do |sub| | ||||
r789 | json.extract! sub, :id, :points, :grader_comment, :ip_address | |||
json.submitted_at sub.submitted_at.to_s(:db) | ||||
r788 | json.problem do | |||
json.long_name sub.problem&.long_name | ||||
end | ||||
json.user do | ||||
json.login sub.user&.login | ||||
end | ||||
r789 | json.language do | |||
json.pretty_name sub.language&.pretty_name | ||||
end | ||||
r788 | end | |||
end | ||||