diff --git a/frontend-modern/src/components/UpdateBanner.tsx b/frontend-modern/src/components/UpdateBanner.tsx index a29d32e2c..584898b2a 100644 --- a/frontend-modern/src/components/UpdateBanner.tsx +++ b/frontend-modern/src/components/UpdateBanner.tsx @@ -11,26 +11,26 @@ export function UpdateBanner() { switch (deploymentType) { case 'proxmoxve': - return "Type 'update' in the ProxmoxVE console"; + return "ProxmoxVE users: type 'update' in console"; case 'docker': - return 'Pull the latest Docker image and recreate container'; + return 'Docker: pull latest image'; case 'source': - return 'Pull latest changes and rebuild'; + return 'Source: pull and rebuild'; default: - return 'Run the install script to update'; + return ''; // No message, just the version info } }; const getShortMessage = () => { const info = updateStore.updateInfo(); if (!info) return ''; - return `Update available: ${info.latestVersion}`; + return `New version available: ${info.latestVersion}`; }; return ( -
-
+
+
{/* Update icon */} @@ -41,12 +41,22 @@ export function UpdateBanner() {
{getShortMessage()} - {!isExpanded() && ( + {!isExpanded() && getUpdateInstructions() && ( <> - - + + )} + {!isExpanded() && ( + + )}
@@ -54,7 +64,7 @@ export function UpdateBanner() { {/* Expand/Collapse button */}