mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -06:00
Fixes #3342: Fix cluster delete button permissions reference
This commit is contained in:
parent
3da9af5a9f
commit
154b9e1faf
@ -33,7 +33,7 @@
|
|||||||
Edit this cluster
|
Edit this cluster
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if perms.dcim.delete_cluster %}
|
{% if perms.virtualization.delete_cluster %}
|
||||||
<a href="{% url 'virtualization:cluster_delete' pk=cluster.pk %}" class="btn btn-danger">
|
<a href="{% url 'virtualization:cluster_delete' pk=cluster.pk %}" class="btn btn-danger">
|
||||||
<span class="fa fa-trash" aria-hidden="true"></span>
|
<span class="fa fa-trash" aria-hidden="true"></span>
|
||||||
Delete this cluster
|
Delete this cluster
|
||||||
|
Loading…
Reference in New Issue
Block a user