summaryrefslogtreecommitdiffstats
path: root/mellon/templates/mellon/authentication_failed.html
blob: 6695c02783c8ad750bd0b9385baac015456da73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "mellon/base.html" %}
{% load i18n %}

{% block mellon_extra_scripts %}
  {% if error_redirect_after_timeout %}
    <meta http-equiv="refresh" content="{{ error_redirect_after_timeout }};url={{ next_url }}"
  {% endif %}
{% endblock %}

{% block mellon_content %}
<div id="mellon-authentication-failure" class="mellon-message">
  <h2 class="mellon-message-header">{% trans "Authentication failed" %}</h2>
  <p class="mellon-message-body">
    {% blocktrans %}The authentication has failed.{% endblocktrans %}
  </p>
  <p class="mellon-message-continue">
    <a class="mellon-link" href="{{ next_url }}">{% trans "Continue" %}</a>
  </p>
  {% if debug %}
    <dl id="mellon-authentication-failure-details">
      <dt class="mellon-issuer">{% trans "Issuer" %}</dt>
      <dd class="mellon-issuer"><tt>{{ issuer }}</tt></dd>
      {% if status_message %}
        <dt class="mellon-status-message">{% trans "Message" %}</dt>
        <dd class="mellon-status-message">{{ status_message }}</dd>
      {% endif %}
      {% if status_codes %}
        <dt class="mellon-status-codes">{% trans "Codes" %}</dt>
        <dd class="mellon-status-codes"><tt>{{ status_codes|join:", " }}</tt></dd>
      {% endif %}
      {% if relaystate %}
        <dt class="mellon-relaystate">{% trans "Relaystate" %}</dt>
        <dd class="mellon-relaystate"><tt>{{ relaystate }}</tt></dd>
      {% endif %}
    </dl>
  {% endif %}
</div>
{% endblock %}