1 {% extends "base.html" %}
3 {% block title %}{% if error %}{% if inactive %}Activation Pending{% else %}Error{% endif %}{% endif %}{% endblock %}
6 <script type="text/javascript">
7 $(document).ready(function(){
8 $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
11 <style type="text/css">
15 background: transparent url(/static/black_arrow_updown.png);
28 {% if user.is_authenticated %}
29 <span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
31 {% if user.is_authenticated %}
32 <span class="topmenuaction"><a href="{% url user-profile %}">{% trans "My profile" %}</a></span>
33 {% if user.is_superuser %}
34 <span class="topmenuaction"><a href="{% url admin:index %}">{% trans "Admin" %}</a></span>
36 <span class="topmenuaction"><a href="{% url logout %}">{% trans "Logout" %}</a></span>
38 <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>
43 {% if error %}{% if inactive %}<h2>Activation Pending</h2>{% else %}<h2>Error</h2>{% endif %}{% endif %}
45 {% if missing_attributes %}
46 <p>One or more required shibboleth attributes were not released towards this service</p>
48 <p {% if not inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
49 {% if missing_attributes %}
51 Required shibboleth attributes:<br>
54 <li>HTTP_SHIB_HOMEORGANIZATION</li>
55 <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
56 <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
60 <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
61 <li>HTTP_SHIB_PERSON_SURNAME</li>