Statistics
| Branch: | Tag: | Revision:

root / templates / error.html @ 442e21b6

History | View | Annotate | Download (1.6 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
                $("#ttip").tooltip();
10
                });
11
        </script>
12
{% endblock %}
13

    
14
    {% block content %}
15
        <div class="container-fluid">
16
      <div class="row-fluid">
17
        <div class="span2">
18
        </div><!--/span-->
19

    
20
                <div class="span10">
21
                        <div class="row-fluid">
22
                                <!--/span-->
23
                                {% if error %}{% if inactive %}<h3 class="muted">{% trans "Activation Pending" %}</h3>{% else %}<h3 class="muted">{% trans "Error" %}</h3>{% endif %}{% endif %}
24
                                <hr><br>
25
                                        
26
                                        <div class="span10 alert {% if missing_attributes %}alert-error{% else %}alert-info{% endif %}">
27
                                        {% if missing_attributes %}
28
                                                <p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
29
                                                {% endif %}
30
                                                <p>{% autoescape off %}{{error}}{% endautoescape %}</p>
31
                                                {% if missing_attributes %}
32
                                                <p>
33
                                                {% trans "Required shibboleth attributes" %}:<br>
34
                                                <ul>
35
                                                <li>HTTP_EPPN</li>
36
                                                <li>HTTP_SHIB_HOMEORGANIZATION</li>
37
                                                <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
38
                                                <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
39
                                                </ul>
40
                                                {% trans "Optional" %}:
41
                                                <ul>
42
                                                <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
43
                                                <li>HTTP_SHIB_PERSON_SURNAME</li>
44
                                                </ul>
45
                                                </p>
46
                                                {% endif %}
47
                                        </div>
48
                                <!--/span-->
49
                        </div><!--/row-->
50
                </div><!--/span-->
51

    
52
        </div><!--/span-->
53
    </div><!--/.fluid-container-->
54
        {% endblock %}