tracks/app/views/login/check_expiry.js.erb
2011-02-03 18:17:16 +01:00

9 lines
No EOL
298 B
Text

<% if @session_expired
theHtml = content_tag(
:div,
t('login.session_time_out', :link => link_to(t('login.log_in_again'), :controller => "login", :action => "login")),
:"class" => "warning")
-%>
$('div#navcontainer').remove();
$('div#content').html('<%=theHtml%>');
<% end -%>