1 {% extends "base.html" %}
2 {% load gravatar i18n %}
5 <aside class="user_avatar">
6 <img src="{% gravatar_for_email request.user.email 120 %}"
8 title="{% trans 'Change at Gravatar.com' %}">
9 <p><a href="{% url 'cas_provider.views.logout' %}">{% trans "Logout" %}</a></p>
14 <section id="messages">
15 {% for message in messages %}<p>{{ message }}</p>{% endfor %}
19 <h2>{% trans "Your profile" %}</h2>
20 <form method="post" action="/accounts/change_profile">
23 {{ basic_form.as_table }}
24 <tr><td colspan="2"><button type="submit">{% trans "Change profile" %}</button></td></tr>
28 <h2>{% trans "Password change" %}</h2>
29 <form method="post" action="/accounts/change_password">
32 {{ pass_form.as_table }}
33 <tr><td colspan="2"><button type="submit">{% trans "Change password" %}</button></td></tr>
39 <section id="services-list">
40 <h1>{% trans "Sign in to:" %}</h1>
41 {% for service in services %}
42 <a href="{{ service.url }}" title="{{ service.name }}">
43 <img src="{{ service.image.url }}" alt="{{ service.name }}">