Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

feat(ui): add Manage Subscription link for Pro users

rcourtman233509908912
diff --git a/frontend-modern/src/components/Settings/ProLicensePanel.tsx b/frontend-modern/src/components/Settings/ProLicensePanel.tsx
index a764c2fe16..62b610383c 100644
--- a/frontend-modern/src/components/Settings/ProLicensePanel.tsx
+++ b/frontend-modern/src/components/Settings/ProLicensePanel.tsx
@@ -6,6 +6,7 @@ import { LicenseAPI, type LicenseStatus } from '@/api/license';
import RefreshCw from 'lucide-solid/icons/refresh-cw';
const PULSE_PRO_URL = 'https://pulserelay.pro/';
+const PULSE_PRO_MANAGE_URL = 'https://pulserelay.pro/manage';
const TIER_LABELS: Record<string, string> = {
free: 'Free',
@@ -260,6 +261,17 @@ export const ProLicensePanel: Component = () => {
</div>
</div>
+ <Show when={status()?.valid && status()?.tier !== 'free' && !status()?.is_lifetime}>
+ <a
+ class="inline-flex items-center gap-1 text-xs font-medium text-blue-600 dark:text-blue-400 hover:underline"
+ href={`${PULSE_PRO_MANAGE_URL}?email=${encodeURIComponent(status()?.email ?? '')}`}
+ target="_blank"
+ rel="noreferrer"
+ >
+ Manage Subscription
+ </a>
+ </Show>
+
<Show when={formattedFeatures().length > 0}>
<div>
<p class="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400 mb-2">Features</p>