mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 21:26:02 +00:00
Fix user template
This commit is contained in:
1 parent
6e05207e84
commit
6ef39257ee
2 files changed
+2
-5
No files matched your search
@@ -9,9 +9,6 @@
|
||||
<p><a href="{{ url('core:user_list') }}">Back to list</a></p>
|
||||
|
||||
<ul>
|
||||
{% if request.user.id == profile.id %}
|
||||
<li><a href="{{ url('core:user_tools') }}">Tools</a></li>
|
||||
{% endif %}
|
||||
{% if can_edit(profile, request.user) or user.id == profile.id %}
|
||||
<li><a href="{{ url('core:user_edit', user_id=profile.id) }}">Edit</a></li>
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user