hide control panel from account view for mobileclients

This commit is contained in:
Jenny Danzmayr 2018-12-22 13:57:14 +01:00
parent 4a21ad983e
commit 5f01ed0fd5

View file

@ -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.' %}