<% if @prefs.refresh != 0 -%> ;url=<%= request.request_uri %>"> <% end -%> <%= javascript_include_merged :tracks %> <%= javascript_include_tag :unobtrusive %> <%= stylesheet_link_merged :tracks %> <%= stylesheet_link_tag "print", :media => "print" %> <%= auto_discovery_link_tag(:rss, {:controller => "todos", :action => "index", :format => 'rss', :token => "#{current_user.token}"}, {:title => "RSS feed of next actions"}) %> <%= @page_title %>

<% if @count %> <%= @count %> <% end %> <%= user_time.strftime(@prefs.title_date_format) %>

<%= render_flash %>
<% unless @controller_name == 'feed' or session['noexpiry'] == "on" -%> <%= periodically_call_remote( :url => {:controller => "login", :action => "check_expiry"}, :frequency => (5*60)) %> <% end -%> <%= periodically_call_remote( :url => formatted_check_deferred_todos_path(:js), :method => :post, :frequency => (10*60)) %> <%= yield %>
<%= render :partial => "shared/footer" %>