From 94e6dd67526749711203dac42117ca91c60a960d Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 16 Jan 2024 16:09:38 -0500 Subject: [PATCH] Fix alignment of delete button in report/script lists --- netbox/templates/extras/report_list.html | 14 +++++++------- netbox/templates/extras/script_list.html | 8 +++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/netbox/templates/extras/report_list.html b/netbox/templates/extras/report_list.html index 52cf2193d..97536a4cc 100644 --- a/netbox/templates/extras/report_list.html +++ b/netbox/templates/extras/report_list.html @@ -21,15 +21,15 @@ {% block content %} {% for module in report_modules %}
-
+
+
+ {{ module }} +
{% if perms.extras.delete_reportmodule %} - + + {% trans "Delete" %} + {% endif %} - {{ module }}
{% include 'inc/sync_warning.html' with object=module %} diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index e2035a304..bb91f7522 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -20,15 +20,17 @@ {% block content %} {% for module in script_modules %}
-
+
+
+ {{ module }} +
{% if perms.extras.delete_scriptmodule %} {% endif %} - {{ module }}
{% include 'inc/sync_warning.html' with object=module %}