diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index 2d7bdbdf7..988f3f524 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -22,21 +22,28 @@ {% for module in script_modules %} {% include 'inc/sync_warning.html' with object=module %}
-

-
- {{ module }} + +
+
+

+
+ {{ module }} +
+

-
- {% if perms.extras.edit_scriptmodule %} - {% url 'extras:scriptmodule_edit' pk=module.pk as edit_url %} - {% include 'buttons/edit.html' with url=edit_url %} - {% endif %} - {% if perms.extras.delete_scriptmodule %} - {% url 'extras:scriptmodule_delete' pk=module.pk as delete_url %} - {% include 'buttons/delete.html' with url=delete_url %} - {% endif %} +
+
+ {% if perms.extras.edit_scriptmodule %} + {% url 'extras:scriptmodule_edit' pk=module.pk as edit_url %} + {% include 'buttons/edit.html' with url=edit_url %} + {% endif %} + {% if perms.extras.delete_scriptmodule %} + {% url 'extras:scriptmodule_delete' pk=module.pk as delete_url %} + {% include 'buttons/delete.html' with url=delete_url %} + {% endif %} +
-

+
{% if module.scripts %}