diff --git a/src/components/Asks/AskDiscord.tsx b/src/components/Asks/AskDiscord.tsx index a683b92..205529d 100644 --- a/src/components/Asks/AskDiscord.tsx +++ b/src/components/Asks/AskDiscord.tsx @@ -36,17 +36,24 @@ export function AskDiscord(asks: JSX.Element[], id: number): void { needToShow,

- Discord nous permet gratuitement et sans pub de s'écrire entre bénévoles via nos - navigateurs ou smartphones. Et donc de s'organiser super efficacement !
- C'est un peu déroutant au début, mais extrêmement pratique car à chaque sujet de - discussion correspond un salon différent que tu peux demander à suivre ou ignorer - totalement via la gestion des notifications. + Discord nous permet gratuitement et sans pub de s'écrire entre bénévoles et donc de + s'organiser super efficacement !
+ L’appli est dispo ici :
+ Android : https://play.google.com/store/apps/details?id=com.discord
- Pour rejoindre le serveur PeL, voici le lien d'invitation à cliquer :{" "} + iPhone : https://apps.apple.com/fr/app/discord-discute-partage/id985746746 +
+ Puis rejoindre le serveur PeL ici :{" "} {discordInvitation} - {" "} - ! + +
+ C’est un peu déroutant au début, mais extrêmement pratique car les discussions sont + organisées par thème, par sujet, par équipe, que tu peux demander à suivre de près + en activant les notifications, ou ignorer totalement. En parallèle du téléphone ou à + la place, tu peux aussi y accéder depuis un navigateur :{" "} + https://discord.com/login +

Prends le temps de le rejoindre maintenant, c'est via cet outil que la plupart des @@ -55,10 +62,7 @@ export function AskDiscord(asks: JSX.Element[], id: number): void {

Pour s'y retrouver tellement on est nombreux (plus de 200), il est nécessaire d'avoir son prénom comme alias. Voir même d'avoir ensuite la première lettre de ton - nom de famille si un autre bénévole présent sur le serveur a le même prénom. Pour - changer ton alias uniquement sur le serveur PeL, il faut faire un clique droit sur - l'icône ronde du serveur en haut à gauche, et aller dans “Modifier le profil du - serveur”. + nom de famille si un autre bénévole présent sur le serveur a le même prénom.

diff --git a/src/components/VolunteerBoard/Hosting/Hosting.tsx b/src/components/VolunteerBoard/Hosting/Hosting.tsx index 49dba2c..3ad996b 100644 --- a/src/components/VolunteerBoard/Hosting/Hosting.tsx +++ b/src/components/VolunteerBoard/Hosting/Hosting.tsx @@ -20,13 +20,13 @@ const Hosting: FC = (): JSX.Element | null => { Je ne peux héberger personnes que ça arrangerait.
)} - {hostingType === "need" && ( + {hostingType === "cherche" && (
J'ai précisé mon besoin d'un hébergement par un bénévole proche du festival
)} - {hostingType === "can" && ( + {hostingType === "propose" && (
Je peux héberger {canHostCount} bénévole(s) !
diff --git a/src/components/VolunteerBoard/HostingForm/HostingForm.tsx b/src/components/VolunteerBoard/HostingForm/HostingForm.tsx index e8395df..5de2511 100644 --- a/src/components/VolunteerBoard/HostingForm/HostingForm.tsx +++ b/src/components/VolunteerBoard/HostingForm/HostingForm.tsx @@ -230,18 +230,18 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { @@ -258,7 +258,10 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => {
@@ -271,7 +274,10 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => {
@@ -287,7 +293,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.noBottomMargin, - hostingType !== "need" && styles.hide, + hostingType !== "cherche" && styles.hide, ])} >
@@ -323,7 +329,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { {nightList.map((nightOption) => getNightElement( nightOption, - hostingType === "need" + hostingType === "cherche" ? " J'aimerai bien mais pas obligatoire" : " Je peux mais ça ne m'arrange pas trop" ) @@ -334,7 +340,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.noBottomMargin, - hostingType !== "can" && styles.hide, + hostingType !== "propose" && styles.hide, ])} >
@@ -360,7 +366,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.noBottomMargin, - hostingType !== "can" && styles.hide, + hostingType !== "propose" && styles.hide, ])} >
@@ -394,7 +400,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.bedConfigurationWrapper, - hostingType !== "can" && styles.hide, + hostingType !== "propose" && styles.hide, ])} >
@@ -412,7 +418,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.hostAddressWrapper, - hostingType !== "can" && styles.hide, + hostingType !== "propose" && styles.hide, ])} >
@@ -429,7 +435,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.noBottomMargin, - hostingType !== "need" && styles.hide, + hostingType !== "cherche" && styles.hide, ])} >
@@ -451,7 +457,10 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => {
@@ -472,7 +481,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => { styles.inputWrapper, (hostingType === "" || hostingType === "neither" || - (hostingType === "need" && + (hostingType === "cherche" && (festivalProximity === "hors région parisienne" || festivalProximity === ""))) && styles.hide, @@ -495,7 +504,7 @@ const HostingForm: FC = ({ children, afterSubmit }): JSX.Element => {
= ({ children, afterSubmit }): JSX.Element => { className={classnames([ styles.inputWrapper, styles.noBottomMargin, - hostingType !== "need" && styles.hide, + hostingType !== "cherche" && styles.hide, ])} >
diff --git a/src/components/VolunteerBoard/ParticipationDetails/ParticipationDetails.tsx b/src/components/VolunteerBoard/ParticipationDetails/ParticipationDetails.tsx index 1cacc81..4113290 100644 --- a/src/components/VolunteerBoard/ParticipationDetails/ParticipationDetails.tsx +++ b/src/components/VolunteerBoard/ParticipationDetails/ParticipationDetails.tsx @@ -9,6 +9,8 @@ type Props = { afterSubmit?: () => void | undefined } +const allowEdit = false + const ParticipationDetails: FC = (): JSX.Element | null => { const [participationDetails] = useUserParticipationDetails() const adult = get(participationDetails, "adult", "") @@ -46,9 +48,12 @@ const ParticipationDetails: FC = (): JSX.Element | null => { )}
- + {allowEdit && ( + + )} + {!allowEdit && <>Commande de tee-shirts envoyée}
) diff --git a/src/components/VolunteerBoard/ParticipationDetails/styles.module.scss b/src/components/VolunteerBoard/ParticipationDetails/styles.module.scss index 9bdae2c..b00d4c5 100755 --- a/src/components/VolunteerBoard/ParticipationDetails/styles.module.scss +++ b/src/components/VolunteerBoard/ParticipationDetails/styles.module.scss @@ -25,8 +25,10 @@ .editButton { @include vertical-center(); + width: 100px; position: absolute; right: 20px; + text-align: right; button { color: $color-green; diff --git a/src/components/VolunteerBoard/TeamWishesForm/TeamWishesForm.tsx b/src/components/VolunteerBoard/TeamWishesForm/TeamWishesForm.tsx index b4355eb..33cff35 100644 --- a/src/components/VolunteerBoard/TeamWishesForm/TeamWishesForm.tsx +++ b/src/components/VolunteerBoard/TeamWishesForm/TeamWishesForm.tsx @@ -41,17 +41,11 @@ const TeamWishesForm: FC = ({ children, afterSubmit }): JSX.Element | nul
Mon choix d'équipe

- Sélectionne la ou les équipes que tu aimerais rejoindre dans l'ordre de tes - préférences. -

-

- Tu seras affecté à une équipe pour les jours de festival prochainement et nous - tiendrons compte de tes préférences dans la mesure du possible. -

-

- Si tu es disponible pour aider en amont, même une autre équipe, n'hésite pas à - le mettre en commentaire. + Sélectionne la ou les équipes que tu aimerais rejoindre. Ta préféré en premier. + Mais ne sélectionne que des équipes que tu accepterais de rejoindre ! Quitte à + n'en sélectionner qu'une.

+

Tu seras affecté à l'une d'elles prochainement et son référent te préviendra.

Pour plus d'informations sur les équipes,{" "} diff --git a/src/services/volunteers.ts b/src/services/volunteers.ts index 8215dd8..de86f00 100644 --- a/src/services/volunteers.ts +++ b/src/services/volunteers.ts @@ -96,7 +96,7 @@ export class Volunteer implements VolunteerPartial { hostingNeedReason = "" - hostingAbsoluteNeed = true + hostingAbsoluteNeed = false meals: string[] = []