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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user