feat: wireless links in topology, own top-level navigation menu

Interfaces with a WirelessLink are now traced like cables; wireless-only
connections are drawn blue and dotted with a "Funk" label, also in the
location overviews (counted as "1× Funk"). The plugin gets its own
"Kunden-Export" menu with icon in the main navigation instead of the
Plugins dropdown.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-16 13:14:16 +01:00
1 parent d7c86289b1
commit 174a41e838
7 files changed
+71 -25

No files matched your search

+12 -2
View File
@@ -1,7 +1,7 @@
from django.utils.translation import gettext_lazy as _
from netbox.plugins import PluginMenuButton, PluginMenuItem
from netbox.plugins import PluginMenu, PluginMenuButton, PluginMenuItem
menu_items = (
_items = (
PluginMenuItem(
link="plugins:netbox_customer_export:select",
link_text=_("Customer Documentation"),
@@ -34,3 +34,13 @@ menu_items = (
),
),
)
# Eigener Eintrag im obersten Navigationsmenü statt unter „Plugins“
menu = PluginMenu(
label=_("Customer Export"),
groups=(
(_("Export"), _items[:1]),
(_("Settings"), _items[1:]),
),
icon_class="mdi mdi-file-document-multiple-outline",
)