diff --git a/IPython/frontend/html/notebook/templates/logout.html b/IPython/frontend/html/notebook/templates/logout.html index f3c7b53..9513dac 100644 --- a/IPython/frontend/html/notebook/templates/logout.html +++ b/IPython/frontend/html/notebook/templates/logout.html @@ -1,5 +1,9 @@ {% extends layout.html %} {% block content_panel %} -Proceed to the login page. + {% if current_user and current_user != 'anonymous' %} + Proceed to the front page. + {% else %} + Proceed to the login page. + {% end %} {% end %}