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