{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block header %}{% endblock %} {% block modal_class %}login {% if hide %}modal{% endif %}{% endblock %} {% block form_action %}{{ HORIZON_CONFIG.rcshibboleth_url }}{% if redirect_field_name in request.GET %}%3F{{ redirect_field_name|urlencode }}%3D{{ request.GET.next|urlencode }}{% endif %}{% endblock %} {% block ng_controller %}hzLoginController{% endblock %} {% block autocomplete %}{{ HORIZON_CONFIG.password_autocomplete }}{% endblock %} {% block modal-body %} {% comment %} These fake fields are required to prevent Chrome v34+ from autofilling form. {% endcomment %} {% if HORIZON_CONFIG.password_autocomplete != "on" %} {% endif %} {% include 'auth/_description.html' %}
{% if request.user.is_authenticated and 'next' in request.GET %}

{% trans "You do not have permission to access the resource:" %}

{{ request.GET.next }}

{% url 'horizon:user_home' as home_url %}{% blocktrans %}Login as different user or go back to home page{% endblocktrans %}

{% endif %} {% if request.COOKIES.logout_reason %}

{{ request.COOKIES.logout_reason }}

{% endif %} {% if next %}{% endif %}
{% endblock %} {% block modal-footer %}{% endblock %}