fix template errors if mesh not enabled
This commit is contained in:
parent
f7d1f6736d
commit
07a7e041cb
3 changed files with 8 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
{% if request.user_permissions.can_review_reports %}
|
||||
<a class="button" href="{% url 'site.report_list' %}">{% trans 'reports' %}</a>
|
||||
{% endif %}
|
||||
{% if request.user_permissions.mesh_control %}
|
||||
{% if request.user_permissions.can_manage_mesh %}
|
||||
<a class="button" href="{% url 'mesh.nodes' %}">{% trans 'mesh' %}</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue