From 564884a7749a94f79b9fa954b5aa65da27845368 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 14 Nov 2022 10:20:38 -0800 Subject: [PATCH] 10903 add module type on manufacturer page --- netbox/templates/dcim/manufacturer.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/netbox/templates/dcim/manufacturer.html b/netbox/templates/dcim/manufacturer.html index 43d16afcb..ad975f2ea 100644 --- a/netbox/templates/dcim/manufacturer.html +++ b/netbox/templates/dcim/manufacturer.html @@ -4,10 +4,24 @@ {% load render_table from django_tables2 %} {% block extra_controls %} - {% if perms.dcim.add_devicetype %} - - Add Device Type - + {% if perms.dcim.add_devicetype or perms.dcim.add_moduletype %} + {% endif %} {% endblock extra_controls %}