+ {/* R20 — the user header is the direct route into the account
+ settings. Clicking the avatar / name jumps straight to
+ `/settings/account` rather than making the user hunt for a
+ separate "Settings" entry. */}
+
+
+
+ {avatarUrl && }
+
+ {getInitials(user.username)}
+
+
+
+ {/* R20 — the avatar + name in the expanded footer routes straight
+ into the account settings; the kebab to the right still opens
+ the rest of the user menu. */}
+
+
+ {avatarUrl && }
+
+ {getInitials(user.username)}
+
+
+
+
{user.username}
+ {user.email && (
+
+ {user.email}
+
+ )}
+
+
{t("medications.detail.api.caption", { name: medicationName })}
- {/* The raw endpoint URL is redundant with the copy button below, so
- it is rendered muted + single-line-truncated rather than as a
- full-width block — the long absolute URL was pure visual noise. */}
- ` carries the value; the icon button copies it. */}
+