Statistics
| Branch: | Tag: | Revision:

root / templates / error.html @ 548848ba

History | View | Annotate | Download (1.5 kB)

1
{% extends "base.html" %}
2
{% load i18n %}
3

    
4
{% block title %}{% if error %}{% if inactive %}{% trans "Activation Pending" %}{% else %}{% trans "Error" %}{% endif %}{% endif %}{% endblock %}
5

    
6
{% block extrahead %}
7
        <script type="text/javascript">
8
        $(document).ready(function(){
9
                $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
10
                });
11
        </script>
12
        <style type="text/css">
13

    
14
            .tooltip {
15
                display: none;
16
                background: transparent url(/fodstatic/black_arrow_updown.png);
17
                font-size: 12px;
18
                height: 70px;
19
                width: 160px;
20
                padding: 25px;
21
                        padding-top: 30px;
22
                color: #fff;
23
            }
24

    
25
</style>
26

    
27
{% endblock %}
28

    
29
{% block content %}
30
        {% if error %}{% if inactive %}<h2>{% trans "Activation Pending" %}</h2>{% else %}<h2>{% trans "Error" %}</h2>{% endif %}{% endif %}
31
        <div>
32
        {% if missing_attributes %}
33
        <p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
34
        {% endif %}
35
        <p {% if  inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
36
        {% if missing_attributes %}
37
        <p>
38
        {% trans "Required shibboleth attributes" %}:<br>
39
        <ul>
40
        <li>HTTP_EPPN</li>
41
        <li>HTTP_SHIB_HOMEORGANIZATION</li>
42
        <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
43
        <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
44
        </ul>
45
        {% trans "Optional" %}:
46
        <ul>
47
        <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
48
        <li>HTTP_SHIB_PERSON_SURNAME</li>
49
        </ul>
50
        </p>
51
        {% endif %}
52
        </div>
53
{% endblock %}