diff --git a/lms/templates/logout.html b/lms/templates/logout.html index e418804eb9..617c463ad1 100644 --- a/lms/templates/logout.html +++ b/lms/templates/logout.html @@ -5,14 +5,31 @@ {% block title %}{% trans "Signed Out" as tmsg %}{{ tmsg | force_escape }} | {{ block.super }}{% endblock %} {% block body %} -

{% trans "You have signed out." as tmsg %}{{ tmsg | force_escape }}

+ {% if enterprise_target %} + {% comment %} + For enterprise SSO flow we intentionally drop learner's session. + We are showing this signin message instead of logout message + to avoid any confusion for learner in that case. + {% endcomment %} +

{% trans "We are signing you in." as tmsg %}{{ tmsg | force_escape }}

-

- {% blocktrans trimmed asvar signout_msg1 %} - If you are not redirected within 5 seconds, {start_anchor}click here to go to the home page{end_anchor}. - {% endblocktrans %} - {% interpolate_html signout_msg1 start_anchor=''|safe end_anchor=''|safe %} -

+

+ {% filter force_escape %} + {% blocktrans %} + This may take a minute. If you are not redirected, go to the home page. + {% endblocktrans %} + {% endfilter %} +

+ {% else %} +

{% trans "You have signed out." as tmsg %}{{ tmsg | force_escape }}

+ +

+ {% blocktrans trimmed asvar signout_msg1 %} + If you are not redirected within 5 seconds, {start_anchor}click here to go to the home page{end_anchor}. + {% endblocktrans %} + {% interpolate_html signout_msg1 start_anchor=''|safe end_anchor=''|safe %} +

+ {% endif %}