Update messaging when no reports/scripts exist

This commit is contained in:
jeremystretch 2023-03-29 10:45:47 -04:00
parent 556353c2f3
commit 22aaa7d097
2 changed files with 6 additions and 6 deletions

View File

@ -108,9 +108,9 @@
{% empty %}
<div class="alert alert-info" role="alert">
<h4 class="alert-heading">No Reports Found</h4>
Reports should be saved to <code>{{ settings.REPORTS_ROOT }}</code>.
<hr/>
<small>This path can be changed by setting <code>REPORTS_ROOT</code> in NetBox's configuration.</small>
{% if perms.extras.add_reportmodule %}
Get started by <a href="{% url 'extras:reportmodule_add' %}">creating a report</a> from an uploaded file or data source.
{% endif %}
</div>
{% endfor %}
</div>

View File

@ -79,9 +79,9 @@
{% empty %}
<div class="alert alert-info">
<h4 class="alert-heading">No Scripts Found</h4>
Scripts should be saved to <code>{{ settings.SCRIPTS_ROOT }}</code>.
<hr/>
This path can be changed by setting <code>SCRIPTS_ROOT</code> in NetBox's configuration.
{% if perms.extras.add_scriptmodule %}
Get started by <a href="{% url 'extras:scriptmodule_add' %}">creating a script</a> from an uploaded file or data source.
{% endif %}
</div>
{% endfor %}
</div>