Show More
Commit Description:
started cleaning up tests, fixed fixtures loading error, removed error when contest time limit is uninitialized
Commit Description:
started cleaning up tests, fixed fixtures loading error, removed error when contest time limit is uninitialized
File last commit:
Show/Diff file:
Action:
app/views/contest_management/index.html.haml | 31 lines | 876 B | text/x-haml | HamlLexer |
Jittat Fakcharoenphol
added contest model
r266 %h1 Contest management
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 .infobox
Jittat Fakcharoenphol
added contest model
r266
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 - if @num_contests>1
%b Multiple contests:
= "There are #{@num_contests} contests running."
- else
%b Single contest:
= "[#{link_to 'Add/remove contests', :controller => 'contests', :action => 'index'}]"
Jittat Fakcharoenphol
added contest model
r266
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 .infobox
%b Web interface mode:
- if (not Configuration.contest_mode?) and (not Configuration.indv_contest_mode?)
standard mode
- elsif Configuration.contest_mode?
normal contest mode.
- else
individual contest mode.
Jittat Fakcharoenphol
added contest model
r266
Jittat Fakcharoenphol
CRUD for contests. combined new contest pages with old contest management. fixed styling.
r267 %br/
Change mode to:
= "[#{link_to 'standard', :action => 'change_contest_mode', :id => 'standard'}]"
= "[#{link_to 'contest', :action => 'change_contest_mode', :id => 'contest'}]"
= "[#{link_to 'individual contest', :action => 'change_contest_mode', :id => 'indv-contest'}]"
- if Configuration.indv_contest_mode?
Jittat Fakcharoenphol
added contest model
r266 = render :partial => 'indv_contest_mode_index'
%br/