diff --git a/messages/en-US.json b/messages/en-US.json index 48ad74542..f033e96f4 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -214,6 +214,7 @@ "resourceErrorDelte": "Error deleting resource", "resourcePoliciesBannerTitle": "Re-use Authentication and Access Rules", "resourcePoliciesBannerDescription": "Shared resource policies let you define authentication methods and access rules once, then attach them to multiple public resources. When you update a policy, every linked resource inherits the change automatically.", + "resourcePoliciesBannerButtonText": "Learn More", "resourcePoliciesTitle": "Manage Public Resource Policies", "resourcePoliciesAttachedResourcesColumnTitle": "Resources", "resourcePoliciesAttachedResources": "{count} resource(s)", diff --git a/src/app/[orgId]/settings/general/page.tsx b/src/app/[orgId]/settings/general/page.tsx index 0ebfae651..e20523250 100644 --- a/src/app/[orgId]/settings/general/page.tsx +++ b/src/app/[orgId]/settings/general/page.tsx @@ -282,7 +282,7 @@ function GeneralSectionForm({ org }: SectionFormProps) { {t("newtAutoUpdateDescription")}{" "} diff --git a/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx b/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx index 3629ed7cd..8696e1967 100644 --- a/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx +++ b/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx @@ -467,7 +467,7 @@ function SshServerForm({

{t("sshDaemonDisclaimer")}{" "} @@ -602,7 +602,7 @@ function SshServerForm({ siteField="selectedSite" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh#site-and-host-configuration" defaultPort={22} /> diff --git a/src/app/[orgId]/settings/resources/public/create/page.tsx b/src/app/[orgId]/settings/resources/public/create/page.tsx index 7e79ddbd5..e80919042 100644 --- a/src/app/[orgId]/settings/resources/public/create/page.tsx +++ b/src/app/[orgId]/settings/resources/public/create/page.tsx @@ -1099,7 +1099,7 @@ export default function Page() { "sshDaemonDisclaimer" )}{" "} @@ -1258,7 +1258,7 @@ export default function Page() { siteField="selectedSite" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/ssh#site-and-host-configuration" defaultPort={22} /> @@ -1308,7 +1308,7 @@ export default function Page() { sitesField="selectedSites" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/rdp" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/rdp#site-and-host-configuration" defaultPort={3389} /> @@ -1355,7 +1355,7 @@ export default function Page() { sitesField="selectedSites" destinationField="destination" destinationPortField="destinationPort" - learnMoreHref="https://docs.pangolin.net/manage/resources/public/vnc" + learnMoreHref="https://docs.pangolin.net/manage/resources/public/vnc#site-and-host-configuration" defaultPort={5900} /> diff --git a/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx b/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx index 4f1b8035f..8d5a654c9 100644 --- a/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx +++ b/src/app/[orgId]/settings/sites/[niceId]/general/page.tsx @@ -317,7 +317,7 @@ export default function GeneralPage() { "siteAutoUpdateDescription" )}{" "} {t("sshPrivateKeyDisclaimer")}{" "} ( {t("sshDaemonDisclaimer")}{" "} { @@ -14,7 +16,22 @@ export const ResourcePoliciesBanner = () => { title={t("resourcePoliciesBannerTitle")} titleIcon={} description={t("resourcePoliciesBannerDescription")} - /> + > + + + + ); };