diff --git a/messages/en-US.json b/messages/en-US.json index 063d9efc..fa5d229c 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -2095,5 +2095,6 @@ "selectedResources": "Selected Resources", "enableSelected": "Enable Selected", "disableSelected": "Disable Selected", - "checkSelectedStatus": "Check Status of Selected" + "checkSelectedStatus": "Check Status of Selected", + "niceId": "Nice ID" } diff --git a/src/components/SiteInfoCard.tsx b/src/components/SiteInfoCard.tsx index 5eed91c5..6d2ded82 100644 --- a/src/components/SiteInfoCard.tsx +++ b/src/components/SiteInfoCard.tsx @@ -14,7 +14,7 @@ import { useEnvContext } from "@app/hooks/useEnvContext"; type SiteInfoCardProps = {}; -export default function SiteInfoCard({}: SiteInfoCardProps) { +export default function SiteInfoCard({ }: SiteInfoCardProps) { const { site, updateSite } = useSiteContext(); const t = useTranslations(); const { env } = useEnvContext(); @@ -34,7 +34,15 @@ export default function SiteInfoCard({}: SiteInfoCardProps) { return ( - + + + + {t("niceId")} + + + {site.niceId} + + {(site.type == "newt" || site.type == "wireguard") && ( <>