From ca29980aa68db3f562988c45987c8cf05b6cac76 Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 29 Oct 2026 12:13:41 +0100 Subject: [PATCH] fix: no Netbox-Utilities mentions in customer documents Co-Authored-By: Claude Opus 5.5 --- netbox_customer_export/__init__.py | 2 +- netbox_customer_export/sections.py | 4 +--- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/netbox_customer_export/__init__.py b/netbox_customer_export/__init__.py index e5af1cc..1e7e184 100644 --- a/netbox_customer_export/__init__.py +++ b/netbox_customer_export/__init__.py @@ -5,7 +5,7 @@ class CustomerExportConfig(PluginConfig): name = "netbox_customer_export" verbose_name = "Kunden-Export" description = "Kundendokumentation als PDF oder Word exportieren" - version = "0.15.0" + version = "0.15.1" author = "Claude" base_url = "customer-export" min_version = "4.6.8" diff --git a/netbox_customer_export/sections.py b/netbox_customer_export/sections.py index 60b215c..accf5c2 100644 --- a/netbox_customer_export/sections.py +++ b/netbox_customer_export/sections.py @@ -310,7 +310,7 @@ def disks(scope, opts): blocks = [H(1, "Datenträger & RAID")] if not disks_utilities.is_installed(): - return _empty(opts, blocks, "Netbox-Utilities mit Datenträger-Verwaltung ist nicht installiert – siehe README.") + return _empty(opts, blocks, "Keine Datenträger erfasst.") blocks += disks_utilities.disk_blocks(scope, opts) return blocks if len(blocks) > 1 else _empty(opts, blocks) @@ -421,8 +421,6 @@ def clusters(scope, opts): details.append(P("VMs ohne festen Host sind nur in den Cluster-Summen enthalten.")) blocks.append(T(["Cluster", "Typ", "Hosts", "VMs aktiv / gesamt", "vCPU / Kerne", "RAM VMs / Hosts", "Speicher"], summary)) - if hardware_utilities.is_installed(): - blocks.append(P("Kerne und Host-RAM aus Netbox-Utilities (CPU & RAM). Verhältnis = zugewiesene vCPU je physischem Kern, Prozent = zugewiesener VM-RAM am physischen RAM.")) return blocks + details diff --git a/pyproject.toml b/pyproject.toml index 7f470b2..53e370d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "netbox-customer-export" -version = "0.15.0" +version = "0.15.1" description = "NetBox-Plugin: Kundendokumentation (PDF/Word) für Standorte, Lokationen, Mandanten und Mandantengruppen" readme = "README.md" requires-python = ">=3.10"