diff --git a/frontend/src/app/scripts/_components/ScriptItem.tsx b/frontend/src/app/scripts/_components/ScriptItem.tsx index 835fce57..fb9e64e0 100644 --- a/frontend/src/app/scripts/_components/ScriptItem.tsx +++ b/frontend/src/app/scripts/_components/ScriptItem.tsx @@ -81,7 +81,7 @@ function ScriptItem({

- How to {item.type ? "install" : "use"} + How to {item.type == "misc" ? "use" : "install"}

diff --git a/frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx b/frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx index 58525f6b..26d941cf 100644 --- a/frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx +++ b/frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx @@ -28,15 +28,16 @@ export default function InstallCommand({ item }: { item: Script }) { time and minimal system resource usage. You are also obliged to adhere to updates provided by the package maintainer. - ) : item.type ? ( + ) : item.type == "misc" ? ( <> - To create a new Proxmox VE {item.name}{" "} - {getDisplayValueFromType(item.type)}, run the command below in the - Proxmox VE Shell. + To use the {item.name} script, run the command below in the shell. ) : ( <> - To use the {item.name} script, run the command below in the shell. + {" "} + To create a new Proxmox VE {item.name}{" "} + {getDisplayValueFromType(item.type)}, run the command below in the + Proxmox VE Shell. )}

diff --git a/frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx b/frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx index 7e70b68e..9adb58b7 100644 --- a/frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx +++ b/frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx @@ -6,6 +6,7 @@ import { TooltipTrigger, } from "@/components/ui/tooltip"; import { Script } from "@/lib/types"; +import { CircleHelp } from "lucide-react"; import React from "react"; interface TooltipProps { @@ -18,9 +19,11 @@ const TooltipBadge: React.FC = ({ variant, label, content }) => ( - {label} + + {label} + - + {content}