remove redmine link, add new link to redakcja
[cas.git] / src / accounts / templates / account / profile.html
1 {% extends "base.html" %}
2 {% load gravatar i18n %}
3
4 {% block content %}
5         <div class="user_avatar">
6                 <img src="{% gravatar request.user.email 120 %}">
7                 <p><a href="{% url cas_provider.views.logout %}">{% trans "Logout" %}</a></p>
8         </div>
9
10         <div id="details">
11                 {% if messages %}
12                         <p>{% for message in messages %}<span class="message">{{ message }}</span>{% endfor %}</p>
13         {% endif %}
14
15                 <h2>{% trans "Your profile" %}</h2>
16     <form method="post" action="/accounts/change_profile">
17         <table>
18                 {{ basic_form.as_table }}
19                         <tr><td colspan="2"><button type="submit">{% trans "Change profile" %}</button></td></tr>
20                 </table>
21         </form>
22
23         <h2>{% trans "Password change" %}</h2>
24         <form method="post" action="/accounts/change_password">
25         <table>
26                 {{ pass_form.as_table }}
27                 <tr><td colspan="2"><button type="submit">{% trans "Change password" %}</button></td></tr>
28                 </table>
29         </form>
30         </div>
31
32         <div id="services-list">
33                 <h2>{% trans "Availble services" %}</h2>
34                 <a href="http://redakcja.nowoczesnapolska.org.pl/">
35                         <img src="http://www.nowoczesnapolska.org.pl/wordpress/wp-content/uploads/2008/11/wl-logo-white.png">
36                 </a>
37                 <a href="http://redmine.nowoczesnapolska.org.pl/">
38                         <img src="{{ MEDIA_URL }}static/redmine_logo.png">
39                 </a>
40         </div>
41 {% endblock %}