mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-30 12:18:12 +00:00
feat: add descriptions to document slots and application sections
This commit is contained in:
@@ -144,6 +144,11 @@ export function DocumentSlots({
|
|||||||
</Badge>
|
</Badge>
|
||||||
)}
|
)}
|
||||||
</Group>
|
</Group>
|
||||||
|
{requirement.description && (
|
||||||
|
<Text size="xs" c="dimmed" mt={2}>
|
||||||
|
{localized(requirement.description)}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
{existing?.files?.[0] && (
|
{existing?.files?.[0] && (
|
||||||
<Text size="xs" c="dimmed" truncate>
|
<Text size="xs" c="dimmed" truncate>
|
||||||
{existing.files[0].originalName} ·{' '}
|
{existing.files[0].originalName} ·{' '}
|
||||||
|
|||||||
@@ -727,9 +727,14 @@ export function LicenseApplicationPage() {
|
|||||||
return (
|
return (
|
||||||
<div key={section.key}>
|
<div key={section.key}>
|
||||||
{index > 0 && <Divider mb="lg" />}
|
{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)}
|
{localized(section.title)}
|
||||||
</Text>
|
</Text>
|
||||||
|
{section.description && (
|
||||||
|
<Text fz="xs" c="dimmed" mb="sm">
|
||||||
|
{localized(section.description)}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
{locked && (
|
{locked && (
|
||||||
<Alert
|
<Alert
|
||||||
color="gray"
|
color="gray"
|
||||||
|
|||||||
@@ -50,11 +50,14 @@ export function applicationActionsColumn(
|
|||||||
onRetakeExam={deps.onRetakeExam}
|
onRetakeExam={deps.onRetakeExam}
|
||||||
onPay={deps.onPay}
|
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. */}
|
otherwise untestable without a live gateway. */}
|
||||||
{deps.bypassEnabled &&
|
{deps.bypassEnabled &&
|
||||||
(app.status === 'PAYMENT_PENDING' ||
|
(app.status === 'PAYMENT_PENDING' ||
|
||||||
app.status === 'EXAM_PAYMENT_PENDING') && (
|
app.status === 'ELIGIBILITY_PAYMENT_PENDING' ||
|
||||||
|
app.status === 'EXAM_PAYMENT_PENDING' ||
|
||||||
|
app.status === 'EXAM_PASSED') && (
|
||||||
<Button
|
<Button
|
||||||
size="xs"
|
size="xs"
|
||||||
variant="default"
|
variant="default"
|
||||||
|
|||||||
Reference in New Issue
Block a user