diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index 5b7361a12..cbffbf8de 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -37,101 +37,104 @@ {% endif %} - {% if module.scripts %} -
{% trans "Name" %} | -{% trans "Description" %} | -{% trans "Last Run" %} | -{% trans "Status" %} | -- | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- {% if script.is_executable %}
- {{ script.python_class.name }}
+ {% with scripts=module.scripts.all %}
+ {% if scripts %}
+
-
- Could not load scripts from {{ module.name }}
+ {% endwith %}
+ {% endfor %}
+ |