From 22aaa7d0978ba6731058b63f0a474e31608baaa6 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 29 Mar 2023 10:45:47 -0400 Subject: [PATCH] Update messaging when no reports/scripts exist --- netbox/templates/extras/report_list.html | 6 +++--- netbox/templates/extras/script_list.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/netbox/templates/extras/report_list.html b/netbox/templates/extras/report_list.html index e9eef966c..58eefa4f7 100644 --- a/netbox/templates/extras/report_list.html +++ b/netbox/templates/extras/report_list.html @@ -108,9 +108,9 @@ {% empty %} {% endfor %} diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index ec8da9cf2..a0d118b93 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -79,9 +79,9 @@ {% empty %}

No Scripts Found

- Scripts should be saved to {{ settings.SCRIPTS_ROOT }}. -
- This path can be changed by setting SCRIPTS_ROOT in NetBox's configuration. + {% if perms.extras.add_scriptmodule %} + Get started by creating a script from an uploaded file or data source. + {% endif %}
{% endfor %}