-
Notifications
You must be signed in to change notification settings - Fork 43
Membre fixe/volant : afficher des messages pour les cas particuliers #999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Membre fixe/volant : afficher des messages pour les cas particuliers #999
Conversation
| {% 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. |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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)
e63b5b2 to
e4557e9
Compare
ff77cde to
832e8f2
Compare
e4557e9 to
558cca1
Compare
558cca1 to
900663f
Compare
832e8f2 to
ff4d6be
Compare
ff4d6be to
4909d6f
Compare
…lefan-grenoble#999) * Show message if fixe without position (and vice-versa) * Also on member side * Use warning color instead
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