diff --git a/.talismanrc b/.talismanrc index e48546c17..96de56f07 100644 --- a/.talismanrc +++ b/.talismanrc @@ -105,8 +105,6 @@ fileignoreconfig: checksum: 5fa50502b737d7e06efff5cd4128da53f4dc7a196428149e1695977175e92cab - filename: ui/modules/dashboard/DashboardOrganisme.tsx checksum: 2740311625e562ca5a15d43eadbed83ae73113716a09b4fbdb2e1f0c79ad42df -- filename: ui/modules/organismes/Televersement.tsx - checksum: 79608f856866cdf4e0232e5729f8909535c9cfe77155bd1799257aa74ff4104a - filename: ui/next.config.js checksum: e68b7b2b7828b9c665c02503b0505821e2b0ea41c91ae440fbce422c781ef07b - filename: ui/pages/auth/inscription/profil.tsx @@ -121,6 +119,8 @@ fileignoreconfig: checksum: a2f835244846eceb8330f07846c128d318de81c5e46741be536b554726b4372c - filename: ui/pages/politique-de-confidentialite.tsx checksum: ecb4075e29596bc69091cf6a3a3836622cc0ccfa91359e6d96eaa026881886c6 +- filename: ui/modules/organismes/Televersement.tsx + checksum: 2322283e936e6f4a419f27f60e1bae886adffc99a40a085131685f4ca77597e3 scopeconfig: - scope: node custom_patterns: diff --git a/ui/modules/organismes/Televersement.tsx b/ui/modules/organismes/Televersement.tsx index c7c82d368..0dcad6af1 100644 --- a/ui/modules/organismes/Televersement.tsx +++ b/ui/modules/organismes/Televersement.tsx @@ -33,8 +33,10 @@ import { cyrb53Hash, normalize } from "@/common/utils/stringUtils"; import SimplePage from "@/components/Page/SimplePage"; import Ribbons from "@/components/Ribbons/Ribbons"; import useToaster from "@/hooks/useToaster"; -import { FileDownloadIcon } from "@/modules/dashboard/icons"; import { DownloadLine } from "@/theme/components/icons"; +import DownloadSimple from "@/theme/components/icons/DownloadSimple"; +import Eye from "@/theme/components/icons/Eye"; +import Video from "@/theme/components/icons/Video"; import headerTooltips from "./headerTooltips"; import InfoTeleversement from "./InfoTeleversement"; @@ -266,46 +268,18 @@ export default function Televersement({ organismeId, isMine }: { organismeId: st Import des effectifs - - - - + + + {status === "validation_failure" && ( <> @@ -348,7 +322,6 @@ export default function Televersement({ organismeId, isMine }: { organismeId: st )} - {status === "validation_success" && ( @@ -363,7 +336,6 @@ export default function Televersement({ organismeId, isMine }: { organismeId: st )} - {data && filteredHeaders && ( @@ -430,7 +402,6 @@ export default function Televersement({ organismeId, isMine }: { organismeId: st
)} - {status === "validation_success" && ( <> + ); +} diff --git a/ui/theme/components/icons/DownloadSimple.tsx b/ui/theme/components/icons/DownloadSimple.tsx new file mode 100644 index 000000000..d63969770 --- /dev/null +++ b/ui/theme/components/icons/DownloadSimple.tsx @@ -0,0 +1,15 @@ +import { Icon } from "@chakra-ui/react"; +import React from "react"; + +export default function DownloadSimple(props) { + return ( + + + + ); +} diff --git a/ui/theme/components/icons/Eye.tsx b/ui/theme/components/icons/Eye.tsx new file mode 100644 index 000000000..80b3d06d4 --- /dev/null +++ b/ui/theme/components/icons/Eye.tsx @@ -0,0 +1,15 @@ +import { Icon } from "@chakra-ui/react"; +import React from "react"; + +export default function Eye(props) { + return ( + + + + ); +} diff --git a/ui/theme/components/icons/Video.tsx b/ui/theme/components/icons/Video.tsx new file mode 100644 index 000000000..48c120d70 --- /dev/null +++ b/ui/theme/components/icons/Video.tsx @@ -0,0 +1,15 @@ +import { Icon } from "@chakra-ui/react"; +import React from "react"; + +export default function Video(props) { + return ( + + + + ); +}