+ {% endcomment %}
+ <div class="navbar navbar-fixed-top">
+
+ <div class="navbar-inner">
+ <div class="container">
+
+ {% block topmenu %}
+ <a class="brand brandimg" href="{% url group-routes %}"><img src="/fodstatic/img/fod_logo.png" /></a>
+ <ul class="nav">
+ {% if user.is_authenticated %}
+
+ {% if user.get_profile.peer %}
+ <li>
+ <a href="{% url user-profile %}">{% trans "My profile" %}</a>
+ </li>
+ {% endif %}
+
+ {% if perms.accounts.overview %}<li>
+ <a href="{% url overview %}">{% trans "Overview" %}</a>
+ </li>{% endif %}
+ {% if user.is_superuser %}
+ <li {% block hometop %}{% endblock %}>
+ <a href="{% url admin:index %}">{% trans "Admin" %}</a>
+ </li>
+ {% endif %}
+ {% else %}
+ <li {% block faqtop %}{% endblock %}>
+
+ </li>
+ {% endif %}
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Language" %}: {% for lang in LANGUAGES %}{% ifequal LANGUAGE_CODE lang.0 %}{% trans lang.1 %}{% endifequal %}{% endfor %}<b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
+ {% csrf_token %}
+ <input name="next" type="hidden" value="{{ next }}" />
+ <input id="langsel" name="language" type="hidden" value="" />
+ </form>
+ {% for lang in LANGUAGES %}
+ <li>
+ <a class="select_lang" href="#" onclick="setlang('{{ lang.0 }}'); return false;" title="{{lang.1}}">{% trans lang.1 %}{% ifequal LANGUAGE_CODE lang.0 %} <i class="icon-ok"></i>{% endifequal %}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ </li>
+
+ </ul>
+ {% endblock %}
+ <ul class="nav pull-right">
+ {% if user.is_authenticated %}
+ <li><span><strong>{{user}}</strong></span></li>
+ <li>
+ <a href="{% url logout %}">{% trans "Logout" %}</a>
+ </li>
+ {% else %}
+ {% if error %}
+ {% if inactive %}
+ <li><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></li>
+ {% else %}
+ <li>
+ <a id='ttip' data-placement="bottom" rel="tooltip" href="{% url logout %}" data-original-title="{% trans 'After clicking Retry Login, it is strongly suggested to close your browser and visit the page again' %}">{% trans "Retry Login" %}</a>
+ </li>{% endif %}
+ {% else %}
+ <li><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></li>
+ {% endif %}
+ {% endif %}
+ </ul>
+
+ </div>
+ </div>
+ </div>
+ {% block contentplaceholder %}
+ <div id="content" class="container">