Show correct number of free slots

Probably not stable. Needs code review.
I used twig globals and service container.
-> 1 SQL request by page. Improve this with a tiny cache ?