fix template errors if mesh not enabled

This commit is contained in:
Laura Klünder 2024-08-22 13:22:00 +02:00
parent f7d1f6736d
commit 07a7e041cb
3 changed files with 8 additions and 2 deletions

View file

@ -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>