Close remaining portal polish gaps on create and org pages.
Make prescription create full-width, restore organisation breadcrumbs, and document the idCard tabs key. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
1f30f00da6
commit
a522916ff1
|
|
@ -136,7 +136,7 @@ const tTabs = useTranslations("tabs");
|
|||
</Tabs>
|
||||
```
|
||||
|
||||
Labels live under root `tabs.*` in `en.json` / `am.json` (`profile`, `entitlement`, `dependants`, `clinical`, `rules`, `perks`, `summary`, `errors`, `breakdown`, `contract`, `people`, `spend`, `info`, `basics`). Prefer `useTranslations("tabs")` so missing keys never render as nested `tabs.tabs.*`.
|
||||
Labels live under root `tabs.*` in `en.json` / `am.json` (`profile`, `entitlement`, `dependants`, `clinical`, `idCard`, `rules`, `perks`, `summary`, `errors`, `breakdown`, `contract`, `people`, `spend`, `info`, `basics`). Prefer `useTranslations("tabs")` so missing keys never render as nested `tabs.tabs.*`.
|
||||
|
||||
## Related docs
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ export default function OrganisationPage() {
|
|||
<DetailPageLayout
|
||||
title={org?.tradeName ?? t("organisation.title")}
|
||||
description={org?.legalName ?? t("organisation.subtitle")}
|
||||
breadcrumb={false}
|
||||
extra={
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
{org ? <StatusBadge status={org.status} /> : null}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export default function NewPrescriptionPage() {
|
|||
<CardDescription>{t("member.rxUploadHelp")}</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<form onSubmit={handleSubmit} className="max-w-3xl space-y-4">
|
||||
<form onSubmit={handleSubmit} className="w-full space-y-4">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="rxFiles">Prescription files</Label>
|
||||
<div className="flex items-center gap-3">
|
||||
|
|
|
|||
Reference in New Issue
Block a user