1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

12175 rack with starting unit > 1 (#12778)

* 12175 add rack starting unit

* 12175 rack starting unit to svg

* verify devices can still fit if change rack starting_unit

* 12175 fix migration

* 12175 fix typo and test

* 12175 fix test

* 12175 fix max height calc display

* Misc cleanup & fixes

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
Arthur Hanson
2023-06-22 06:09:01 -07:00
committed by GitHub
parent 518fd8cca6
commit eff4a3741c
8 changed files with 55 additions and 17 deletions

View File

@@ -101,6 +101,12 @@
<th scope="row">Height</th>
<td>{{ object.u_height }}U ({% if object.desc_units %}descending{% else %}ascending{% endif %})</td>
</tr>
<tr>
<th scope="row">Starting Unit</th>
<td>
{{ object.starting_unit }}
</td>
</tr>
<tr>
<th scope="row">Outer Width</th>
<td>

View File

@@ -71,6 +71,7 @@
</div>
{% render_field form.mounting_depth %}
{% render_field form.desc_units %}
{% render_field form.starting_unit %}
</div>
{% if form.custom_fields %}