Show More
Commit Description:
MERGE changeset 306:307 from branch ytopc08-2 that fixes migration bug...
Commit Description:
MERGE changeset 306:307 from branch ytopc08-2 that fixes migration bug git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@308 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/site/started.html.haml | 31 lines | 556 B | text/x-haml | HamlLexer |
%h2
Contest Administration for site:
= "#{@site.name}, #{@site.country.name}"
- curr_time = Time.new.gmtime
- if @site.finished?
%h3 Contest ended.
- else
%h3 Contest started.
Current time at the server is
= "#{format_short_time(curr_time)} UTC"
(please
= link_to 'refresh', :action => 'index'
to update)
%br/
%br/
The contest at your site has been started at
= "#{format_short_time(@site.start_time)} UTC"
%br/
%h3
Time left:
= "#{Time.at(@site.time_left).gmtime.strftime("%X")}"
%br/
%br/
= link_to '[log out]', :action => 'logout'