fix: no Netbox-Utilities mentions in customer documents
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
55c70814c3
commit
ca29980aa6
3 files changed
+3
-5
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user