Skip to content

Conversation

@raphodn
Copy link
Member

@raphodn raphodn commented Sep 20, 2023

Suite de #956

Quoi ?

Coté admin, et coté membre, indiquer des messages si le membre est volant mais a un créneau fixe (et vice-versa).

Captures d'écran

Image
Admin : membre fixe sans créneau fixe image
Admin : membre volant avec créneau(x) fixe image
Membre : fixe sans créneau fixe image
Membre : volant avec créneau(x) fixe image

@raphodn raphodn self-assigned this Sep 20, 2023
{% if member.flying %}
<div class="col s12">
<div class="card-panel teal warning white-text">
{% if member.beneficiaries | length > 1 %}Votre{% else %}Ton{% endif %} compte est <strong>volant</strong> alors que {% if member.beneficiaries | length > 1 %}vous avez{% else %}tu as{% endif %} {{ period_positions | length }} créneau{% if period_positions | length > 1 %}x{% endif %} fixe.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si on veut y rajouter du texte (par exemple "Rapproches-toi du BDM / Poste d'accueil") on peut le faire directement sur le serveur (stash)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ca pose la question de déporter ces messages dans un fichier spécifique de config par exemple ou dans la DB (et ainsi pouvoir l'éditer en dynamique)

@raphodn raphodn requested a review from petitalb September 20, 2023 14:45
@raphodn raphodn linked an issue Sep 20, 2023 that may be closed by this pull request
8 tasks
@raphodn raphodn force-pushed the feature/move-flying-to-membership-2 branch from e63b5b2 to e4557e9 Compare October 12, 2023 14:46
@raphodn raphodn force-pushed the raphodn/membership-flying-period-positions-warning branch from ff77cde to 832e8f2 Compare October 12, 2023 14:54
@raphodn raphodn force-pushed the feature/move-flying-to-membership-2 branch from e4557e9 to 558cca1 Compare October 17, 2023 17:20
@raphodn raphodn force-pushed the feature/move-flying-to-membership-2 branch from 558cca1 to 900663f Compare October 26, 2023 14:48
@raphodn raphodn changed the base branch from feature/move-flying-to-membership-2 to master October 30, 2023 15:31
@raphodn raphodn force-pushed the raphodn/membership-flying-period-positions-warning branch from 832e8f2 to ff4d6be Compare October 30, 2023 15:32
@raphodn raphodn force-pushed the raphodn/membership-flying-period-positions-warning branch from ff4d6be to 4909d6f Compare October 31, 2023 19:29
@raphodn raphodn merged commit 9d41824 into master Oct 31, 2023
@raphodn raphodn deleted the raphodn/membership-flying-period-positions-warning branch October 31, 2023 19:31
@raphodn raphodn linked an issue Oct 31, 2023 that may be closed by this pull request
8 tasks
OursDesCavernes pushed a commit to Les400Coop/gestion-compte that referenced this pull request Jan 20, 2024
…lefan-grenoble#999)

* Show message if fixe without position (and vice-versa)

* Also on member side

* Use warning color instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Basculer la notion de fixe / volant au niveau du Membership

2 participants