user_tools.jinja 700 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
8
9
10
11
{% extends "core/base.jinja" %}

{% block title %}
    {{ user.get_display_name() }}'s tools
{% endblock %}

{% block content %}
<h3>User Tools</h3>
<p><a href="{{ url('core:user_profile', user_id=request.user.id) }}">Back to profile</a></p>

<ul>
Skia's avatar
Skia committed
12
{% if user.is_in_group(settings.AE_GROUPS['root']['name']) %}
Skia's avatar
Skia committed
13
14
    <li><a href="{{ url('core:group_list') }}">Groups</a></li>
{% endif %}
Skia's avatar
Skia committed
15
16
{% if user.is_in_group(settings.AE_GROUPS['root']['name']) or user.is_in_group(settings.AE_GROUPS['board']['name']) %}
    <li><a href="{{ url('subscription:subscription') }}">Subscriptions</a></li>
Skia's avatar
Skia committed
17
    <li><a href="{{ url('counter:admin_list') }}">Counters management</a></li>
Skia's avatar
Skia committed
18
{% endif %}
Skia's avatar
Skia committed
19
20
21
22
23
24
</ul>

{% endblock %}