account.html 1.32 KB
Newer Older
1
2
3
4
5
{% extends "base.html" %}

{% load static %}
{% load i18n %}

6
{% block title %}{% trans "members"|capfirst %} — {{ block.super }}{% endblock %}
7
8
9
10
11
12
13

{% block body %}
<h1>{% trans 'Account' %}</h1>

<div class="row">
    <div class="span6 offset3">

Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
14
        <p class="text-center">{% blocktrans with user=request.user.username %}You’re currently logged in as <strong>{{ user }}</strong>{% endblocktrans %}.</p>
15
16
17

        <hr>

18
        <div>
19
            <a href="{% url 'members:profile' request.user.pk %}">{% trans "show public profile"|capfirst %}</a>
20
21
22
23
24
            <p>{% blocktrans %}Take a look at your own profile.{% endblocktrans %}</p>
        </div>

        <hr>

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
        <div>
            <a href="{% url 'members:edit-profile' %}">{% trans "edit profile"|capfirst %}</a>
            <p>{% blocktrans %}Edit your profile and avatar.{% endblocktrans %}</p>
        </div>

        <hr>

        <div>
            <a href="{% url 'password_change' %}">{% trans "change password"|capfirst %}</a>
            <p>{% blocktrans %}Change your accounts' password.{% endblocktrans %}</p>
        </div>

        <hr>

        <div>
            <a href="{% url 'logout' %}">{% trans "logout"|capfirst %}</a>
41
            <p>{% blocktrans %}Leave the restricted area of the website.{% endblocktrans %}</p>
42
43
44
45
        </div>

    </div>
</div>
46
{% endblock %}}