Fix user template

This commit is contained in:
Skia committed 2016-05-03 09:01:54 +02:00
1 parent 6e05207e84
commit 6ef39257ee
2 files changed
+2 -5

No files matched your search

-3
View File
@@ -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 %}