Skip to content

Commit

Permalink
feat: afficher le taux de couverture en pourcent (#3342)
Browse files Browse the repository at this point in the history
Co-authored-by: Maxime Dréau <[email protected]>
  • Loading branch information
rap2hpoutre and totakoko authored Nov 7, 2023
1 parent 56f7eb9 commit 5537416
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ui/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
ListItem,
Spinner,
Stack,
Tag,
Text,
Tooltip,
UnorderedList,
Expand Down Expand Up @@ -508,6 +509,24 @@ function SectionApercuChiffresCles() {
<Text fontSize="zeta">
<Text as="b">{formatNumber(indicateursNational?.indicateursOrganismes?.formateurs)}</Text> formateurs
</Text>
<Tag
mt={4}
borderRadius="full"
fontSize="omega"
boxShadow="inset 0 0 0px 1px #000091"
variant="outline"
color="bluefrance"
>
Soit&nbsp;
<Text as="b" fontSize="zeta">
{Math.round(
(100 * (indicateursNational?.indicateursOrganismes?.total || 0)) /
(indicateursNational?.indicateursOrganismes?.totalWithoutTransmissionDate || 1)
)}
%
</Text>
&nbsp;des établissements
</Tag>
</Box>
</HStack>
</Center>
Expand Down

0 comments on commit 5537416

Please sign in to comment.