From abc5f8ec68d99f3169f8032cec57df17778486bf Mon Sep 17 00:00:00 2001 From: Pallavi Kumari Date: Thu, 6 Nov 2025 23:36:54 +0530 Subject: [PATCH] show the identifier in the info box --- src/components/ResourceInfoBox.tsx | 10 +++++++++- src/components/SiteInfoCard.tsx | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/ResourceInfoBox.tsx b/src/components/ResourceInfoBox.tsx index 7d6a171e..4d77a434 100644 --- a/src/components/ResourceInfoBox.tsx +++ b/src/components/ResourceInfoBox.tsx @@ -31,8 +31,16 @@ export default function ResourceInfoBox({ }: ResourceInfoBoxType) { {/* 4 cols because of the certs */} + + + {t("identifier")} + + + {resource.niceId} + + {resource.http ? ( <> diff --git a/src/components/SiteInfoCard.tsx b/src/components/SiteInfoCard.tsx index 35d7120c..6d35e145 100644 --- a/src/components/SiteInfoCard.tsx +++ b/src/components/SiteInfoCard.tsx @@ -35,7 +35,15 @@ export default function SiteInfoCard({ }: SiteInfoCardProps) { return ( - + + + + {t("identifier")} + + + {site.niceId} + + {(site.type == "newt" || site.type == "wireguard") && ( <>