-
Notifications
You must be signed in to change notification settings - Fork 42
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
Homogéniser et généraliser l'affichage de "libre" #621
Conversation
@@ -198,7 +198,7 @@ public function cardReaderAction(Request $request) | |||
$em = $this->getDoctrine()->getManager(); | |||
$shifts = $em->getRepository('AppBundle:Shift')->findRemainingToday(); | |||
$buckets = $this->get('shift_service')->generateShiftBuckets($shifts); | |||
$buckets = $this->get('shift_service')->removeEmptyShift($buckets); | |||
// $buckets = $this->get('shift_service')->removeEmptyShift($buckets); |
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.
à supprimer ?
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.
yes, j'ai laissé car j'ai du mal à évaluer si ce genre de modifs ne va pas provoquer quelques questions ^^
(que ce soit à l'elefan, ou dans d'autres coop, donc maybe un paramètre à terme ?)
{% if (shiftercount == 0) %} | ||
<li style="height: 30px"> | ||
<span class="red-text" style="margin-right: 5px; font-size: 16px"> | ||
<i class="material-icons tiny">warning</i> | ||
Personne n'est inscrit sur ce créneau | ||
<i class="material-icons tiny">warning</i> | ||
</span> | ||
</li> | ||
{% endif %} |
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.
J'aurais plutot déplacé cet encart en entête de la card :
/!\ Personne n'est inscrit sur ce créneau /!\ (<= centré)
Poste d'accueil / 17h30 - 19h00
- Libre
- Libre
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.
bonne remarque, je teste 🙏
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.
Quoi ?
Modifications apportées :
Captures d'écran