We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83dad6f commit 6030c52Copy full SHA for 6030c52
netbox/templates/dcim/device/base.html
@@ -42,7 +42,7 @@
42
{% if perms.dcim.add_rearport %}
43
<li><a class="dropdown-item" href="{% url 'dcim:rearport_add' %}?device={{ object.pk }}&return_url={% url 'dcim:device_rearports' pk=object.pk %}">{% trans "Rear Ports" %}</a></li>
44
{% endif %}
45
- {% if perms.dcim.add_devicebay %}
+ {% if perms.dcim.add_modulebay %}
46
<li><a class="dropdown-item" href="{% url 'dcim:modulebay_add' %}?device={{ object.pk }}&return_url={% url 'dcim:device_modulebays' pk=object.pk %}">{% trans "Module Bays" %}</a></li>
47
48
{% if perms.dcim.add_devicebay %}
0 commit comments