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