diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb
--- a/app/controllers/main_controller.rb
+++ b/app/controllers/main_controller.rb
@@ -276,6 +276,15 @@
redirect_to :action => 'list'
end
+ def problems
+ prepare_list_information
+ render :partial => 'problem_title', :collection => @problems, :as => :problem
+ end
+
+ def splash
+ render :text => '
Most recent task:'
+ end
+
protected
def prepare_announcements(recent=nil)
diff --git a/app/views/main/list.html.haml b/app/views/main/list.html.haml
--- a/app/views/main/list.html.haml
+++ b/app/views/main/list.html.haml
@@ -17,7 +17,7 @@
%p=t 'main.start_soon'
- if Configuration.show_tasks_to?(@user)
- .problem-list
+ .problem-list{:id => 'problem-list'}
= render :partial => 'problem_title', :collection => @problems, :as => :problem
.problem-content
%span{:id => "problem-panel-filler", :style => (@current_problem_id!=nil) ? "display:none" : ""}
@@ -37,3 +37,6 @@
CodejomTimeout.updateProblemMessages();
CodejomTimeout.registerRefreshEvent();
+= periodically_call_remote(:url => { :action => 'problems' }, :update => 'problem-list')
+
+
diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass
--- a/public/stylesheets/sass/application.sass
+++ b/public/stylesheets/sass/application.sass
@@ -335,4 +335,4 @@
text-align: center
&.random-button
- background: lightgrey
\ No newline at end of file
+ background: lightgrey