Add fragment type in views. Minor wording changes
[flowspy] / templates / error.html
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>eduPersonPrincipalName</li>
36                                                 <li>mail</li>
37                                                 <li>eduPersonEntitlement</li>
38                                                 </ul>
39                                                 {% trans "Optional" %}:
40                                                 <ul>
41                                                 <li>givenName</li>
42                                                 <li>sn</li>
43                                                 </ul>
44                                                 </p>
45                                                 {% endif %}
46                                         </div>
47                                 <!--/span-->
48                         </div><!--/row-->
49                 </div><!--/span-->
50
51         </div><!--/span-->
52     </div><!--/.fluid-container-->
53         {% endblock %}