1 {% extends "base.html" %}
2 {% load gravatar i18n %}
3 {% load use_ssh from services %}
7 <img src="{% gravatar_url request.user.email 120 %}"
9 title="{% trans 'Change at Gravatar.com' %}">
11 <p><a {% if menu == 'profile' %}class="active"{% endif %} href="{% url 'accounts_profile' %}">{% trans "Your profile" %}</a></p>
12 <p><a {% if menu == 'password' %}class="active"{% endif %} href="{% url 'password_change' %}">{% trans "Password change" %}</a></p>
13 <!--p><a {% if menu == 'email' %}class="active"{% endif %} href="">{% trans "E-mail" %}</a></p-->
14 {% use_ssh as use_ssh %}
16 <p><a {% if menu == 'ssh' %}class="active"{% endif %} href="{% url 'ssh_keys' %}">{% trans "SSH keys" %}</a></p>
20 {% if request.user.is_staff %}
21 <p><a href='/admin/'>{% trans "Administration" %}</a></p>
23 <p><a href="{% url 'cas_logout' %}">{% trans "Logout" %}</a></p>
28 <section id="messages">
29 {% for message in messages %}<p>{{ message }}</p>{% endfor %}
33 {% block accounts-content %}