Compare commits
2
Commits
cc2546b332
...
4dd01b82e3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4dd01b82e3 | ||
|
|
2ea1dcaec3 |
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
from netbox.plugins import PluginConfig, get_plugin_config
|
from netbox.plugins import PluginConfig, get_plugin_config
|
||||||
|
|
||||||
__version__ = "0.26.1"
|
__version__ = "0.26.2"
|
||||||
|
|
||||||
|
|
||||||
class NetBoxUtilitiesConfig(PluginConfig):
|
class NetBoxUtilitiesConfig(PluginConfig):
|
||||||
|
|||||||
@@ -432,6 +432,7 @@ def _install_device_form():
|
|||||||
reordered["utilities_rack_width"] = self.fields["utilities_rack_width"]
|
reordered["utilities_rack_width"] = self.fields["utilities_rack_width"]
|
||||||
reordered["utilities_horizontal_position"] = self.fields["utilities_horizontal_position"]
|
reordered["utilities_horizontal_position"] = self.fields["utilities_horizontal_position"]
|
||||||
for name in STACK_FORM_FIELDS:
|
for name in STACK_FORM_FIELDS:
|
||||||
|
if name in self.fields:
|
||||||
reordered[name] = self.fields[name]
|
reordered[name] = self.fields[name]
|
||||||
self.fields = reordered
|
self.fields = reordered
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@
|
|||||||
{% render_field form.vc_priority %}
|
{% render_field form.vc_priority %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if form.utilities_switch_stack %}
|
{% if "utilities_switch_stack" in form.fields %}
|
||||||
<div class="field-group my-5">
|
<div class="field-group my-5">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h2 class="col-9 offset-3">Switch-Stack</h2>
|
<h2 class="col-9 offset-3">Switch-Stack</h2>
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "netbox-utilities"
|
name = "netbox-utilities"
|
||||||
version = "0.26.1"
|
version = "0.26.2"
|
||||||
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, disks, CPU & RAM, switch port export and bulk operations for NetBox 4.6/4.7"
|
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, disks, CPU & RAM, switch port export and bulk operations for NetBox 4.6/4.7"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
Reference in new issue
Block a user