1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added a "view all" link to the changelog panel

This commit is contained in:
Jeremy Stretch
2018-08-07 15:19:01 -04:00
parent d5239191fe
commit f9911bff0d

View File

@@ -194,10 +194,13 @@
</small>
</div>
{% endwith %}
{% if forloop.last %}
<div class="list-group-item text-right">
<a href="{% url 'extras:objectchange_list' %}">View All Changes</a>
</div>
{% endif %}
{% empty %}
<div class="list-group-item">
Welcome to NetBox! {% if perms.add_site %} <a href="{% url 'dcim:site_add' %}">Add a site</a> to get started.{% endif %}
</div>
<div class="list-group-item text-muted">No change history found</div>
{% endfor %}
</div>
</div>