fix: single control for technician topology

The technician version needed a scope pill plus a separate granularity
selection; it is now enabled directly by choosing all/per site/per location.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-27 10:27:50 +01:00
1 parent daf8bc671b
commit a6715f1026
7 files changed
+12 -11

No files matched your search

+2 -3
View File
@@ -82,7 +82,6 @@ class ExportForm(forms.Form):
("locations", _("Location overview (connections between locations)")),
("locations_all", _("Cross-site location overview (all locations in one diagram)")),
("rack", _("Per rack")),
("technician", _("Technician version (numbered connections + port list)")),
),
initial=["site"],
required=False,
@@ -95,10 +94,10 @@ class ExportForm(forms.Form):
("site", _("Per site")),
("location", _("Per location")),
),
initial=["all", "site"],
initial=[],
required=False,
widget=forms.CheckboxSelectMultiple,
label=_("Technician version"),
label=_("Technician version (numbered connections + port list)"),
)
topo_external = forms.BooleanField(
required=False, initial=True, label=_("Show provider circuits and devices outside the scope")