Show More
Commit Description:
fix displaying bug
Commit Description:
fix displaying bug
References:
File last commit:
Show/Diff file:
Action:
app/views/main/submission.html.haml | 25 lines | 594 B | text/x-haml | HamlLexer |
= user_title_bar(@user)
.task-menu
Task List
%br/
- @problems.each do |problem|
= link_to problem.name, :action => 'submission', :id => problem.name
- if @problem!=nil
%h2= "Task: #{@problem.full_name} (#{@problem.name})"
- if @submissions!=nil
- if @submissions.length>0
%table.info
%tr.info-head
%th.info No.
%th.info #
%th.info At
%th.info Source
%th.info Result
%th.info{:width => "300px"}
Compiler message
= render :partial => 'submission', :collection => @submissions
- else
No submission