1 {% extends "base.html" %}
4 {% block title %}{% if error %}{% if inactive %}{% trans "Activation Pending" %}{% else %}{% trans "Error" %}{% endif %}{% endif %}{% endblock %}
7 <script type="text/javascript">
8 $(document).ready(function(){
9 $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
12 <style type="text/css">
16 background: transparent url(/static/black_arrow_updown.png);
26 <script type="text/javascript">
28 function setlang(lang){
29 $("#langsel").val(lang);
30 $("#langform").submit();
38 {% if user.is_authenticated %}
39 <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
41 {% if user.is_authenticated %}
42 <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
43 {% if user.is_superuser %}
44 <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
46 <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
48 <span class="topmenuaction relogin" title="After clicking Retry Login, it is strongly suggested to close your browser and visit the page again"><a href="{% url logout %}">{% trans "Retry Login" %}</a></span>
53 {% if error %}{% if inactive %}<h2>{% trans "Activation Pending" %}</h2>{% else %}<h2>{% trans "Error" %}</h2>{% endif %}{% endif %}
55 {% if missing_attributes %}
56 <p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
58 <p {% if not inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
59 {% if missing_attributes %}
61 {% trans "Required shibboleth attributes" %}:<br>
64 <li>HTTP_SHIB_HOMEORGANIZATION</li>
65 <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
66 <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
68 {% trans "Optional" %}:
70 <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
71 <li>HTTP_SHIB_PERSON_SURNAME</li>