netbox-community/netbox#7668: Add 'View Elevations' button to location detail page

This commit is contained in:
Rhys Barrie 2021-10-29 14:07:02 -04:00
parent a090955918
commit 24d6941cc4

View File

@ -9,6 +9,12 @@
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
{% block extra_controls %}
<a href="{% url 'dcim:rack_elevation_list' %}?site_id={{ object.site.pk }}&location_id={{ object.pk }}" class="btn btn-sm btn-primary" role="button">
<i class="mdi mdi-server" aria-hidden="true"></i>&nbsp;View Elevations
</a>
{% endblock %}
{% block content %} {% block content %}
<div class="row mb-3"> <div class="row mb-3">
<div class="col col-md-6"> <div class="col col-md-6">