mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 12:30:15 +01:00
9 lines
No EOL
347 B
Text
9 lines
No EOL
347 B
Text
if @session_expired
|
|
page << "console.log('expired');"
|
|
page << "$('div#navcontainer').hide();"
|
|
page << "theHtml = \'<div class=\"warning\">" +
|
|
t('login.session_time_out', :link => link_to(
|
|
t('login.log_in_again'), :controller => "login", :action => "login"),
|
|
"class" => "warning")
|
|
page << "$('div#content').html(theHtml);"
|
|
end |