Permalink
Browse files

Improve `ActivateNetworkAccess` button condition

  • Loading branch information...
ibot3 committed Oct 15, 2018
1 parent 518ae8d commit 16131351af9d5d6f7abb641acd93f919996cc13e
Showing with 1 addition and 2 deletions.
  1. +1 −2 sipa/templates/usersuite/_index_status.html
@@ -21,8 +21,7 @@ <h2 id="hot-buttons">{{ _("Häufige Aktionen") }}</h2>
<span class="glyphicon glyphicon-pencil"></span>
{{ _("MAC-Adresse ändern") }}
</a>
{% endif %}
{% if current_user.network_access_active.capabilities.edit %}
{% else %}
<a href="{{ url_for('.activate_network_access') }}" class="btn btn-default">
<span class="glyphicon glyphicon-off"></span>
{{ _("Netzwerkanschluss aktivieren") }}

0 comments on commit 1613135

Please sign in to comment.