style(frontend): format Lehrgang section in member detail to match other Atemschutz sub-sections
This commit is contained in:
@@ -955,14 +955,23 @@ function MitgliedDetail() {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
|
<Typography variant="caption" color="text.secondary" sx={{ display: 'block', mb: 0.5 }}>
|
||||||
|
Lehrgang
|
||||||
|
</Typography>
|
||||||
<FieldRow
|
<FieldRow
|
||||||
label="Lehrgang"
|
label="Bestanden"
|
||||||
value={
|
value={
|
||||||
atemschutz.atemschutz_lehrgang
|
atemschutz.atemschutz_lehrgang
|
||||||
? `Ja${atemschutz.lehrgang_theorie_only ? ' (nur Theorie)' : ''}${atemschutz.lehrgang_datum ? ` (${new Date(atemschutz.lehrgang_datum).toLocaleDateString('de-AT')})` : ''}`
|
? `Ja${atemschutz.lehrgang_theorie_only ? ' (nur Theorie)' : ''}`
|
||||||
: 'Nein'
|
: 'Nein'
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<FieldRow
|
||||||
|
label="Datum"
|
||||||
|
value={atemschutz.lehrgang_datum
|
||||||
|
? new Date(atemschutz.lehrgang_datum).toLocaleDateString('de-AT')
|
||||||
|
: null}
|
||||||
|
/>
|
||||||
|
|
||||||
<Divider sx={{ my: 1.5 }} />
|
<Divider sx={{ my: 1.5 }} />
|
||||||
<Typography variant="caption" color="text.secondary" sx={{ display: 'block', mb: 0.5 }}>
|
<Typography variant="caption" color="text.secondary" sx={{ display: 'block', mb: 0.5 }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user