mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Closes #3152: Include direct link to rack elevations on site view
This commit is contained in:
parent
3b03d68ac7
commit
77e0564d13
@ -1,5 +1,9 @@
|
|||||||
# v2.6.9 (FUTURE)
|
# 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
|
## Bug Fixes
|
||||||
|
|
||||||
* [#3749](https://github.com/netbox-community/netbox/issues/3749) - Fix exception on password change page for local users
|
* [#3749](https://github.com/netbox-community/netbox/issues/3749) - Fix exception on password change page for local users
|
||||||
|
@ -251,25 +251,28 @@
|
|||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<strong>Rack Groups</strong>
|
<strong>Rack Groups</strong>
|
||||||
</div>
|
</div>
|
||||||
{% if rack_groups %}
|
<table class="table table-hover panel-body">
|
||||||
<table class="table table-hover panel-body">
|
{% for rg in rack_groups %}
|
||||||
{% for rg in rack_groups %}
|
<tr>
|
||||||
<tr>
|
<td><i class="fa fa-fw fa-folder-o"></i> <a href="{{ rg.get_absolute_url }}">{{ rg }}</a></td>
|
||||||
<td><i class="fa fa-fw fa-folder-o"></i> <a href="{{ rg.get_absolute_url }}">{{ rg }}</a></td>
|
<td>{{ rg.rack_count }}</td>
|
||||||
<td>{{ rg.rack_count }}</td>
|
<td class="text-right noprint">
|
||||||
<td class="text-right noprint">
|
<a href="{% url 'dcim:rack_elevation_list' %}?group_id={{ rg.pk }}" class="btn btn-xs btn-primary" title="View elevations">
|
||||||
<a href="{% url 'dcim:rack_elevation_list' %}?group_id={{ rg.pk }}" class="btn btn-xs btn-primary" title="View elevations">
|
<i class="fa fa-eye"></i>
|
||||||
<i class="fa fa-eye"></i>
|
</a>
|
||||||
</a>
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
</tr>
|
{% endfor %}
|
||||||
{% endfor %}
|
<tr>
|
||||||
</table>
|
<td><i class="fa fa-fw fa-folder-o"></i> All racks</td>
|
||||||
{% else %}
|
<td>{{ stats.rack_count }}</td>
|
||||||
<div class="panel-body text-muted">
|
<td class="text-right noprint">
|
||||||
None
|
<a href="{% url 'dcim:rack_elevation_list' %}?site={{ site.slug }}" class="btn btn-xs btn-primary" title="View elevations">
|
||||||
</div>
|
<i class="fa fa-eye"></i>
|
||||||
{% endif %}
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
|
Loading…
Reference in New Issue
Block a user