Closes #3152: Include direct link to rack elevations on site view

This commit is contained in:
Jeremy Stretch 2019-12-13 10:12:46 -05:00
parent 3b03d68ac7
commit 77e0564d13
2 changed files with 26 additions and 19 deletions

View File

@ -1,5 +1,9 @@
# v2.6.9 (FUTURE)
## Enhancements
* [#3152](https://github.com/netbox-community/netbox/issues/3152) - Include direct link to rack elevations on site view
## Bug Fixes
* [#3749](https://github.com/netbox-community/netbox/issues/3749) - Fix exception on password change page for local users

View File

@ -251,7 +251,6 @@
<div class="panel-heading">
<strong>Rack Groups</strong>
</div>
{% if rack_groups %}
<table class="table table-hover panel-body">
{% for rg in rack_groups %}
<tr>
@ -264,12 +263,16 @@
</td>
</tr>
{% endfor %}
<tr>
<td><i class="fa fa-fw fa-folder-o"></i> All racks</td>
<td>{{ stats.rack_count }}</td>
<td class="text-right noprint">
<a href="{% url 'dcim:rack_elevation_list' %}?site={{ site.slug }}" class="btn btn-xs btn-primary" title="View elevations">
<i class="fa fa-eye"></i>
</a>
</td>
</tr>
</table>
{% else %}
<div class="panel-body text-muted">
None
</div>
{% endif %}
</div>
<div class="panel panel-default">
<div class="panel-heading">