mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-27 01:36:11 -06:00
Update messaging when no reports/scripts exist
This commit is contained in:
parent
556353c2f3
commit
22aaa7d097
@ -108,9 +108,9 @@
|
|||||||
{% empty %}
|
{% empty %}
|
||||||
<div class="alert alert-info" role="alert">
|
<div class="alert alert-info" role="alert">
|
||||||
<h4 class="alert-heading">No Reports Found</h4>
|
<h4 class="alert-heading">No Reports Found</h4>
|
||||||
Reports should be saved to <code>{{ settings.REPORTS_ROOT }}</code>.
|
{% if perms.extras.add_reportmodule %}
|
||||||
<hr/>
|
Get started by <a href="{% url 'extras:reportmodule_add' %}">creating a report</a> from an uploaded file or data source.
|
||||||
<small>This path can be changed by setting <code>REPORTS_ROOT</code> in NetBox's configuration.</small>
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -79,9 +79,9 @@
|
|||||||
{% empty %}
|
{% empty %}
|
||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
<h4 class="alert-heading">No Scripts Found</h4>
|
<h4 class="alert-heading">No Scripts Found</h4>
|
||||||
Scripts should be saved to <code>{{ settings.SCRIPTS_ROOT }}</code>.
|
{% if perms.extras.add_scriptmodule %}
|
||||||
<hr/>
|
Get started by <a href="{% url 'extras:scriptmodule_add' %}">creating a script</a> from an uploaded file or data source.
|
||||||
This path can be changed by setting <code>SCRIPTS_ROOT</code> in NetBox's configuration.
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user