mirror of
https://github.com/ae-utbm/sith.git
synced 2025-08-07 17:49:56 +00:00
WIP: Improve many views and a bit user permissions (idea for class scale perm)
This commit is contained in:
20
core/templates/core/user_tools.html
Normal file
20
core/templates/core/user_tools.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "core/base.html" %}
|
||||
|
||||
{% block title %}
|
||||
{{ user.get_display_name }}'s tools
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h3>User Tools</h3>
|
||||
<p><a href="{% url 'core:user_profile' user.id %}">Back to profile</a></p>
|
||||
|
||||
<ul>
|
||||
{% if perms.core.add_group %}
|
||||
<li><a href="{% url 'core:group_list' %}">Groups</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user