mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-20 13:13:23 +00:00
25 lines
700 B
Django/Jinja
25 lines
700 B
Django/Jinja
{% 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>
|
|
{% if user.is_in_group(settings.AE_GROUPS['root']['name']) %}
|
|
<li><a href="{{ url('core:group_list') }}">Groups</a></li>
|
|
{% endif %}
|
|
{% 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>
|
|
<li><a href="{{ url('counter:admin_list') }}">Counters management</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|