hide control panel from account view for mobileclients
This commit is contained in:
parent
4a21ad983e
commit
5f01ed0fd5
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
{% endwith %}
|
||||
</p>
|
||||
|
||||
{% if request.user_permissions.control_panel %}
|
||||
{% if request.user_permissions.control_panel and not request.mobileclient %}
|
||||
<hr>
|
||||
<p>
|
||||
{% trans 'You can access the control panel.' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue