mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
feat: add descriptions to document slots and application sections
This commit is contained in:
@@ -144,6 +144,11 @@ export function DocumentSlots({
|
||||
</Badge>
|
||||
)}
|
||||
</Group>
|
||||
{requirement.description && (
|
||||
<Text size="xs" c="dimmed" mt={2}>
|
||||
{localized(requirement.description)}
|
||||
</Text>
|
||||
)}
|
||||
{existing?.files?.[0] && (
|
||||
<Text size="xs" c="dimmed" truncate>
|
||||
{existing.files[0].originalName} ·{' '}
|
||||
|
||||
@@ -727,9 +727,14 @@ export function LicenseApplicationPage() {
|
||||
return (
|
||||
<div key={section.key}>
|
||||
{index > 0 && <Divider mb="lg" />}
|
||||
<Text fw={600} fz="sm" tt="uppercase" c="gray.6" mb="sm">
|
||||
<Text fw={600} fz="sm" tt="uppercase" c="gray.6" mb={section.description ? 4 : "sm"}>
|
||||
{localized(section.title)}
|
||||
</Text>
|
||||
{section.description && (
|
||||
<Text fz="xs" c="dimmed" mb="sm">
|
||||
{localized(section.description)}
|
||||
</Text>
|
||||
)}
|
||||
{locked && (
|
||||
<Alert
|
||||
color="gray"
|
||||
|
||||
@@ -50,11 +50,14 @@ export function applicationActionsColumn(
|
||||
onRetakeExam={deps.onRetakeExam}
|
||||
onPay={deps.onPay}
|
||||
/>
|
||||
{/* Both fee stops are bypassable — an examined certificate is
|
||||
{/* Every fee stop is bypassable — an examined certificate charges
|
||||
three separate fees (eligibility, exam, certificate) and is
|
||||
otherwise untestable without a live gateway. */}
|
||||
{deps.bypassEnabled &&
|
||||
(app.status === 'PAYMENT_PENDING' ||
|
||||
app.status === 'EXAM_PAYMENT_PENDING') && (
|
||||
app.status === 'ELIGIBILITY_PAYMENT_PENDING' ||
|
||||
app.status === 'EXAM_PAYMENT_PENDING' ||
|
||||
app.status === 'EXAM_PASSED') && (
|
||||
<Button
|
||||
size="xs"
|
||||
variant="default"
|
||||
|
||||
Reference in New Issue
Block a user