Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
app/views/contest_management/index.html.haml | 31 lines | 912 B | text/x-haml | HamlLexer |
%h1 Contest management
.infobox
- if @num_contests>1
%b Multiple contests:
= "There are #{@num_contests} contests running."
- else
%b Single contest:
=raw "[#{link_to 'Add/remove contests', :controller => 'contests', :action => 'index'}]"
.infobox
%b Web interface mode:
- if (not GraderConfiguration.contest_mode?) and (not GraderConfiguration.indv_contest_mode?)
standard mode
- elsif GraderConfiguration.contest_mode?
normal contest mode.
- else
individual contest mode.
%br/
Change mode to:
=raw "[#{link_to 'standard', :action => 'change_contest_mode', :id => 'standard'}]"
=raw "[#{link_to 'contest', :action => 'change_contest_mode', :id => 'contest'}]"
=raw "[#{link_to 'individual contest', :action => 'change_contest_mode', :id => 'indv-contest'}]"
- if GraderConfiguration.indv_contest_mode?
= render :partial => 'indv_contest_mode_index'
%br/