mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-08 08:34:20 +02:00
Disable tee-shirt choice
This commit is contained in:
parent
b6533795c4
commit
42f3e86381
@ -36,17 +36,24 @@ export function AskDiscord(asks: JSX.Element[], id: number): void {
|
|||||||
needToShow,
|
needToShow,
|
||||||
<div className={styles.formLine}>
|
<div className={styles.formLine}>
|
||||||
<p>
|
<p>
|
||||||
Discord nous permet gratuitement et sans pub de s'écrire entre bénévoles via nos
|
Discord nous permet gratuitement et sans pub de s'écrire entre bénévoles et donc de
|
||||||
navigateurs ou smartphones. Et donc de s'organiser super efficacement !<br />
|
s'organiser super efficacement !<br />
|
||||||
C'est un peu déroutant au début, mais extrêmement pratique car à chaque sujet de
|
L’appli est dispo ici :<br />
|
||||||
discussion correspond un salon différent que tu peux demander à suivre ou ignorer
|
Android : https://play.google.com/store/apps/details?id=com.discord
|
||||||
totalement via la gestion des notifications.
|
|
||||||
<br />
|
<br />
|
||||||
Pour rejoindre le serveur PeL, voici le lien d'invitation à cliquer :{" "}
|
iPhone : https://apps.apple.com/fr/app/discord-discute-partage/id985746746
|
||||||
|
<br />
|
||||||
|
Puis rejoindre le serveur PeL ici :{" "}
|
||||||
<a href={discordInvitation} onClick={onSubmit}>
|
<a href={discordInvitation} onClick={onSubmit}>
|
||||||
{discordInvitation}
|
{discordInvitation}
|
||||||
</a>{" "}
|
</a>
|
||||||
!
|
<br />
|
||||||
|
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 :{" "}
|
||||||
|
<a href="https://discord.com/login">https://discord.com/login</a>
|
||||||
|
<br />
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Prends le temps de le rejoindre maintenant, c'est via cet outil que la plupart des
|
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 {
|
|||||||
<p>
|
<p>
|
||||||
Pour s'y retrouver tellement on est nombreux (plus de 200), il est nécessaire
|
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
|
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
|
nom de famille si un autre bénévole présent sur le serveur a le même prénom.
|
||||||
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”.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className={styles.formButtons}>
|
<div className={styles.formButtons}>
|
||||||
|
@ -20,13 +20,13 @@ const Hosting: FC = (): JSX.Element | null => {
|
|||||||
Je ne peux héberger personnes que ça arrangerait.
|
Je ne peux héberger personnes que ça arrangerait.
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{hostingType === "need" && (
|
{hostingType === "cherche" && (
|
||||||
<div className={styles.hostingLabel}>
|
<div className={styles.hostingLabel}>
|
||||||
J'ai précisé mon <b>besoin</b> d'un hébergement par un bénévole proche du
|
J'ai précisé mon <b>besoin</b> d'un hébergement par un bénévole proche du
|
||||||
festival
|
festival
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{hostingType === "can" && (
|
{hostingType === "propose" && (
|
||||||
<div className={styles.hostingLabel}>
|
<div className={styles.hostingLabel}>
|
||||||
Je peux héberger <b>{canHostCount} bénévole(s)</b> !
|
Je peux héberger <b>{canHostCount} bénévole(s)</b> !
|
||||||
</div>
|
</div>
|
||||||
|
@ -230,18 +230,18 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
<label className={styles.hostingTypeLabel}>
|
<label className={styles.hostingTypeLabel}>
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
name="can"
|
name="propose"
|
||||||
onChange={() => onHostingTypeChange("can")}
|
onChange={() => onHostingTypeChange("propose")}
|
||||||
checked={hostingType === "can"}
|
checked={hostingType === "propose"}
|
||||||
/>{" "}
|
/>{" "}
|
||||||
Je peux héberger au moins un bénévole
|
Je peux héberger au moins un bénévole
|
||||||
</label>
|
</label>
|
||||||
<label className={styles.hostingTypeLabel}>
|
<label className={styles.hostingTypeLabel}>
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
name="need"
|
name="cherche"
|
||||||
onChange={() => onHostingTypeChange("need")}
|
onChange={() => onHostingTypeChange("cherche")}
|
||||||
checked={hostingType === "need"}
|
checked={hostingType === "cherche"}
|
||||||
/>{" "}
|
/>{" "}
|
||||||
J'aurais besoin d'un hébergement de la part d'un bénévole proche du festival
|
J'aurais besoin d'un hébergement de la part d'un bénévole proche du festival
|
||||||
</label>
|
</label>
|
||||||
@ -258,7 +258,10 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={classnames([styles.inputWrapper, hostingType !== "can" && styles.hide])}
|
className={classnames([
|
||||||
|
styles.inputWrapper,
|
||||||
|
hostingType !== "propose" && styles.hide,
|
||||||
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
<div className={styles.canHostCountTitle}>
|
<div className={styles.canHostCountTitle}>
|
||||||
@ -271,7 +274,10 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={classnames([styles.inputWrapper, hostingType !== "can" && styles.hide])}
|
className={classnames([
|
||||||
|
styles.inputWrapper,
|
||||||
|
hostingType !== "propose" && styles.hide,
|
||||||
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
<div className={styles.petAllergiesTitle}>
|
<div className={styles.petAllergiesTitle}>
|
||||||
@ -287,7 +293,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.noBottomMargin,
|
styles.noBottomMargin,
|
||||||
hostingType !== "need" && styles.hide,
|
hostingType !== "cherche" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
@ -323,7 +329,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
{nightList.map((nightOption) =>
|
{nightList.map((nightOption) =>
|
||||||
getNightElement(
|
getNightElement(
|
||||||
nightOption,
|
nightOption,
|
||||||
hostingType === "need"
|
hostingType === "cherche"
|
||||||
? " J'aimerai bien mais pas obligatoire"
|
? " J'aimerai bien mais pas obligatoire"
|
||||||
: " Je peux mais ça ne m'arrange pas trop"
|
: " Je peux mais ça ne m'arrange pas trop"
|
||||||
)
|
)
|
||||||
@ -334,7 +340,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.noBottomMargin,
|
styles.noBottomMargin,
|
||||||
hostingType !== "can" && styles.hide,
|
hostingType !== "propose" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
@ -360,7 +366,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.noBottomMargin,
|
styles.noBottomMargin,
|
||||||
hostingType !== "can" && styles.hide,
|
hostingType !== "propose" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
@ -394,7 +400,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.bedConfigurationWrapper,
|
styles.bedConfigurationWrapper,
|
||||||
hostingType !== "can" && styles.hide,
|
hostingType !== "propose" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
@ -412,7 +418,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.hostAddressWrapper,
|
styles.hostAddressWrapper,
|
||||||
hostingType !== "can" && styles.hide,
|
hostingType !== "propose" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
@ -429,7 +435,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.noBottomMargin,
|
styles.noBottomMargin,
|
||||||
hostingType !== "need" && styles.hide,
|
hostingType !== "cherche" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
@ -451,7 +457,10 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={classnames([styles.inputWrapper, hostingType !== "can" && styles.hide])}
|
className={classnames([
|
||||||
|
styles.inputWrapper,
|
||||||
|
hostingType !== "propose" && styles.hide,
|
||||||
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
<div className={styles.transportTypeTitle}>
|
<div className={styles.transportTypeTitle}>
|
||||||
@ -472,7 +481,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
(hostingType === "" ||
|
(hostingType === "" ||
|
||||||
hostingType === "neither" ||
|
hostingType === "neither" ||
|
||||||
(hostingType === "need" &&
|
(hostingType === "cherche" &&
|
||||||
(festivalProximity === "hors région parisienne" ||
|
(festivalProximity === "hors région parisienne" ||
|
||||||
festivalProximity === ""))) &&
|
festivalProximity === ""))) &&
|
||||||
styles.hide,
|
styles.hide,
|
||||||
@ -495,7 +504,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
<div
|
<div
|
||||||
className={classnames([
|
className={classnames([
|
||||||
styles.hostingNeedReasonWrapper,
|
styles.hostingNeedReasonWrapper,
|
||||||
(hostingType !== "need" ||
|
(hostingType !== "cherche" ||
|
||||||
festivalProximity === "hors région parisienne" ||
|
festivalProximity === "hors région parisienne" ||
|
||||||
festivalProximity === "") &&
|
festivalProximity === "") &&
|
||||||
styles.hide,
|
styles.hide,
|
||||||
@ -509,7 +518,7 @@ const HostingForm: FC<Props> = ({ children, afterSubmit }): JSX.Element => {
|
|||||||
className={classnames([
|
className={classnames([
|
||||||
styles.inputWrapper,
|
styles.inputWrapper,
|
||||||
styles.noBottomMargin,
|
styles.noBottomMargin,
|
||||||
hostingType !== "need" && styles.hide,
|
hostingType !== "cherche" && styles.hide,
|
||||||
])}
|
])}
|
||||||
>
|
>
|
||||||
<div className={styles.leftCol}>
|
<div className={styles.leftCol}>
|
||||||
|
@ -9,6 +9,8 @@ type Props = {
|
|||||||
afterSubmit?: () => void | undefined
|
afterSubmit?: () => void | undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const allowEdit = false
|
||||||
|
|
||||||
const ParticipationDetails: FC<Props> = (): JSX.Element | null => {
|
const ParticipationDetails: FC<Props> = (): JSX.Element | null => {
|
||||||
const [participationDetails] = useUserParticipationDetails()
|
const [participationDetails] = useUserParticipationDetails()
|
||||||
const adult = get(participationDetails, "adult", "")
|
const adult = get(participationDetails, "adult", "")
|
||||||
@ -46,9 +48,12 @@ const ParticipationDetails: FC<Props> = (): JSX.Element | null => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.editButton}>
|
<div className={styles.editButton}>
|
||||||
<button type="button" onClick={onEdit}>
|
{allowEdit && (
|
||||||
Modifier
|
<button type="button" onClick={onEdit}>
|
||||||
</button>
|
Modifier
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
|
{!allowEdit && <>Commande de tee-shirts envoyée</>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -25,8 +25,10 @@
|
|||||||
.editButton {
|
.editButton {
|
||||||
@include vertical-center();
|
@include vertical-center();
|
||||||
|
|
||||||
|
width: 100px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 20px;
|
right: 20px;
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
color: $color-green;
|
color: $color-green;
|
||||||
|
@ -41,17 +41,11 @@ const TeamWishesForm: FC<Props> = ({ children, afterSubmit }): JSX.Element | nul
|
|||||||
<div className={styles.title}>Mon choix d'équipe</div>
|
<div className={styles.title}>Mon choix d'équipe</div>
|
||||||
<div className={styles.intro}>
|
<div className={styles.intro}>
|
||||||
<p>
|
<p>
|
||||||
Sélectionne la ou les équipes que tu aimerais rejoindre dans l'ordre de tes
|
Sélectionne la ou les équipes que tu aimerais rejoindre. Ta préféré en premier.
|
||||||
préférences.
|
Mais ne sélectionne que des équipes que tu accepterais de rejoindre ! Quitte à
|
||||||
</p>
|
n'en sélectionner qu'une.
|
||||||
<p>
|
|
||||||
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.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Si tu es disponible pour aider en amont, même une autre équipe, n'hésite pas à
|
|
||||||
le mettre en commentaire.
|
|
||||||
</p>
|
</p>
|
||||||
|
<p>Tu seras affecté à l'une d'elles prochainement et son référent te préviendra.</p>
|
||||||
<p>
|
<p>
|
||||||
Pour plus d'informations sur les équipes,{" "}
|
Pour plus d'informations sur les équipes,{" "}
|
||||||
<a href="/equipes" target="_blank">
|
<a href="/equipes" target="_blank">
|
||||||
|
@ -96,7 +96,7 @@ export class Volunteer implements VolunteerPartial {
|
|||||||
|
|
||||||
hostingNeedReason = ""
|
hostingNeedReason = ""
|
||||||
|
|
||||||
hostingAbsoluteNeed = true
|
hostingAbsoluteNeed = false
|
||||||
|
|
||||||
meals: string[] = []
|
meals: string[] = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user