Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
added contest model
Commit Description:
added contest model
- content_for :head do
= javascript_include_tag :defaults
= javascript_include_tag 'announcement_refresh.js'
= user_title_bar ( @user )
.announcementbox { :style => ( @announcements . length == 0 ? "display:none" : "" )}
%span { :class => 'title' }
Announcements
#announcementbox-body
= render :partial => 'announcement' , :collection => @announcements
- if Configuration . show_submitbox_to? ( @user )
.submitbox
= error_messages_for 'submission'
= render :partial => 'submission_box'
%hr /
- if ( Configuration . contest_mode? ) and ( @user . site! = nil ) and ( @user . site . started! = true )
%p = t 'main.start_soon'
- if Configuration . show_tasks_to? ( @user )
%table .info
%tr .info-head
%th
%th Tasks
%th # of sub(s)
%th Results
= render :partial => 'problem' , :collection => @problems
%hr /
%script { :type => 'text/javascript' }
= "Announcement.refreshUrl = ' #{ url_for :controller => 'main' , :action => 'announcements' } ';"
Announcement.registerRefreshEventTimer();
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings