From 3b69f07b86eb0b1fdfae0a3876bde53595bc024e Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 23 Mar 2022 14:00:56 -0400 Subject: [PATCH] Clean up module template --- netbox/templates/dcim/module.html | 74 +++++++++++++++---------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/netbox/templates/dcim/module.html b/netbox/templates/dcim/module.html index 525d39534..130cd046f 100644 --- a/netbox/templates/dcim/module.html +++ b/netbox/templates/dcim/module.html @@ -11,36 +11,36 @@ {% endblock %} {% block extra_controls %} - {% if perms.dcim.change_module %} - - {% endif %} + {% if perms.dcim.change_module %} + + {% endif %} {% endblock %} {% block content %} @@ -90,7 +90,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %} @@ -102,7 +102,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %} @@ -114,7 +114,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %} @@ -126,7 +126,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %} @@ -138,7 +138,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %} @@ -150,7 +150,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %} @@ -162,7 +162,7 @@ {% if component_count %} {{ component_count }} {% else %} - None + {{ ''|placeholder }} {% endif %} {% endwith %}