diff --git a/gui/ext/vmmngr/vmmngr.conf b/gui/ext/vmmngr/vmmngr.conf index a4916c9..6a92a80 100644 --- a/gui/ext/vmmngr/vmmngr.conf +++ b/gui/ext/vmmngr/vmmngr.conf @@ -1,6 +1,6 @@ { "appname": "VM Manager", - "version": "0.7.0", + "version": "0.7.1", "rootfolder": "/mnt/Daten/extensions/vmmngr", "vm_source": "auto", "bridges": ["ix0bridge"], diff --git a/gui/vmmngr-boot.inc b/gui/vmmngr-boot.inc index 33e4d7c..eae7246 100644 --- a/gui/vmmngr-boot.inc +++ b/gui/vmmngr-boot.inc @@ -48,7 +48,7 @@ if (!function_exists('vmm_nav')) { * Clickable breadcrumb + section tabs (the XigmaNAS title itself is plain * text, so navigation lives here). */ - function vmm_nav(string $current): void + function vmm_nav(string $current, string $crumb = ''): void { $items = [ 'dashboard' => ['vmmngr.php', gettext('Dashboard')], @@ -58,12 +58,12 @@ if (!function_exists('vmm_nav')) { 'jobs' => ['vmmngr_jobs.php', gettext('Jobs')], 'config' => ['vmmngr_config.php', gettext('Configuration')], ]; - $label = $items[$current][1] ?? gettext('VM Manager'); + $label = $crumb !== '' ? $crumb : ($items[$current][1] ?? gettext('VM Manager')); ?>
›
[$href, $text]): ?> - + diff --git a/gui/vmmngr_vm.php b/gui/vmmngr_vm.php index 777c218..a0dd549 100644 --- a/gui/vmmngr_vm.php +++ b/gui/vmmngr_vm.php @@ -114,7 +114,7 @@ $jobs = vmm_job_list(10, $name); include 'fbegin.inc'; vmm_css(); -vmm_nav('dashboard'); +vmm_nav('', $name); ?>
diff --git a/version.txt b/version.txt index faef31a..39e898a 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.7.0 +0.7.1