Server backup 2026-11-07 of uncommitted work in projects/pharma-web-celtic

Snapshot of the working tree on srv1071960 (branch main), taken during
server cleanup. .env files, node_modules, builds, logs and media were excluded.
This commit is contained in:
Shubhankar45
2026-11-07 05:43:12 +00:00
parent b001e2d03c
commit 0d30c58bf0
98 changed files with 1878 additions and 573 deletions
@@ -1,5 +1,5 @@
import { EmptyState } from "../ui/States";
import { formatDateTime } from "../../lib/format";
import { formatDateTime, roleLabel } from "../../lib/format";
import type { Approval } from "../../types";
export function ApprovalTimeline({ items }: { items: Approval[] }) {
@@ -11,7 +11,7 @@ export function ApprovalTimeline({ items }: { items: Approval[] }) {
<span className="timeline-dot" />
<div>
<p className="timeline-action">{item.action.replaceAll("_", " ")}</p>
<p className="timeline-meta">{item.actor_name} · {item.actor_role}</p>
<p className="timeline-meta">{item.actor_name} · {roleLabel(item.actor_role)}</p>
<time className="timeline-meta">{formatDateTime(item.at)}</time>
{item.comment && <p className="timeline-note">{item.comment}</p>}
</div>