feat(ui): show subscription status in dashboard
This commit is contained in:
@@ -57,6 +57,10 @@ function getDomainStatusBadge(status: string | null) {
|
||||
return "bg-rose-100 text-rose-700";
|
||||
}
|
||||
|
||||
if (normalized.includes("expired")) {
|
||||
return "bg-amber-100 text-amber-700";
|
||||
}
|
||||
|
||||
if (normalized.includes("active") || normalized.includes("enabled")) {
|
||||
return "bg-emerald-100 text-emerald-700";
|
||||
}
|
||||
@@ -576,7 +580,7 @@ export function DashboardControls({
|
||||
<thead>
|
||||
<tr className="border-b border-slate-200 text-xs uppercase text-slate-500">
|
||||
<th className="px-2 py-2">Domain</th>
|
||||
<th className="px-2 py-2">Status</th>
|
||||
<th className="px-2 py-2">Subscription Status</th>
|
||||
<th className="px-2 py-2">Hosting</th>
|
||||
<th className="px-2 py-2">Created</th>
|
||||
<th className="px-2 py-2">Aliases</th>
|
||||
|
||||
Reference in New Issue
Block a user