Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

fix: typo on psy form #191

Merged
merged 3 commits into from
May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ KEYCLOAK_ID=mon-psy-app
KEYCLOAK_SECRET=4SNWQRsdF9P2g3yJXGhoioJkNIwkvsop
KEYCLOAK_ISSUER=http://localhost:8080/realms/mon-psy-sante

MAIL_ENABLED=false
SUPPORT_MAIL=monpsysante@fabrique.social.gouv.fr

MAIL_HOST=https://httpbin.org/anything
MAIL_PORT=587
MAIL_TLS=false
NEXT_PUBLIC_NEW_FEATURES=true
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=Hello
API_ADRESSE_URL=https://httpbin.org/apiAdresse
64 changes: 0 additions & 64 deletions cypress/integration/annuaire-admin.spec.js

This file was deleted.

10 changes: 6 additions & 4 deletions src/components/Admin/PsychologistForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const editableFields = [
{
field: "visible",
label: "Disponibilité du psychologue :",
legend: "En indisponible les modalités de contact ne seront plus visible",
legend: "En indisponible les modalités de contact ne seront plus visibles",
type: "boolean",
options: [
{ label: "Disponible", value: true },
Expand All @@ -35,7 +35,8 @@ const editableFields = [
{
field: "addressAdditional",
label: "Informations complémentaires (cabinet principal)",
legend: "Informations complémentaires (cabinet principal)",
legend:
"Exemple : nom d'un bâtiment, d'une résidence, digicode, etc. Si le psychologue propose uniquement des séances au domicile du patient, noter ici \"Séances à domicile\".",
},
{
field: "secondAddress",
Expand Down Expand Up @@ -78,6 +79,7 @@ const editableFields = [
{
field: "languages",
label: "Langues de réalisation des séances (autre que le français)",
legend: "Lister les langues en les séparant par une virgule",
},
{
field: "cdsmsp",
Expand Down Expand Up @@ -135,13 +137,13 @@ const PsychologistForm = ({
)
.then(() => {
setResult({
text: "Psychologue correctement mis à a jour",
text: "Psychologue correctement mis à jour",
type: "success",
});
})
.catch(() => {
setResult({
text: "Une erreur est survenue, veuillez reesayer",
text: "Une erreur est survenue, veuillez réessayer",
type: "error",
});
})
Expand Down
6 changes: 2 additions & 4 deletions src/components/Directory/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ const Header = () => {
<div className="fr-mt-6w">
<h1>Annuaire</h1>
<h2>Trouver un psychologue partenaire près de chez soi.</h2>
<p>
Plus de 1000 psychologues sont volontaires pour participer au
dispositif. Plusieurs candidatures sont en cours d’examen. La liste des
psychologues partenaires est actualisée régulièrement.
<p className="fr-text--sm">
La liste des psychologues partenaires est actualisée régulièrement.
</p>
<Callout className="fr-mb-4w fr-callout--pink-tuile">
<CalloutTitle>A noter</CalloutTitle>
Expand Down