add elevation button to location view

This commit is contained in:
Jamie Murphy 2023-06-07 17:20:12 +01:00
parent 4a88d5e3d9
commit c28db4e7d0

View File

@ -16,6 +16,9 @@
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add Child Location
</a>
{% endif %}
<a href="{% url 'dcim:rack_elevation_list' %}?site={{ object.site.slug }}&location_id={{ object.pk }}" class="btn btn-sm btn-primary" title="View elevations">
<i class="mdi mdi-server"></i> Elevation
</a>
{% endblock extra_controls %}
{% block content %}