account.html 1.41 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
{% block opengraph_title %}{% trans "members"|capfirst %} — {{ block.super }}{% endblock %}
8
9
10
11
12
13
14

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

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

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

        <hr>

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

        <hr>

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
        <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>
42
            <p>{% blocktrans %}Leave the restricted area of the website.{% endblocktrans %}</p>
43
44
45
46
        </div>

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