link editor in account details page
This commit is contained in:
parent
faf97978f6
commit
d9e48aa561
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
|||
{% trans 'You can manage:' %}
|
||||
</p>
|
||||
<p>
|
||||
{% if request.user_permissions.editor_access %}
|
||||
<a class="button" href="{% url 'editor.index' %}">{% trans 'Editor' %}</a>
|
||||
{% endif %}
|
||||
{% if request.user_permissions.control_panel %}
|
||||
<a class="button" href="{% url 'control.index' %}">{% trans 'stuff' %}</a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue