Button to participate shown green and clickable even when the event is fully booked
Description
The participate-button is green and clickable, even when the event is fully booked. It just seems to happen nothing when clicking on "participate". It would be nice, if the botton would be invisible or red and non-clickable, so ppl know, the event is already full.
There also seems to be an off-by-one error, if there is a single seat left "No places left" is displayed and "0/1 available places" when it is fully booked.
Steps to Reproduce
- Have a fully booked event.
- Go to event page.
- Participate-Button is still there and green. Click on it.
Expected behaviour:
Some notification like "sorry, the event is already fully booked". Better: Red, non-clickable button with info "fully booked".
Actual behaviour:
Nothing happens, back to the event page, still with green clickable participate-button.
Reproduces how often:
Could reproduce with several events.
Versions
https://salon.literatur.social/ running framasoft/mobilizon:latest
(1.0.2) as docker-compose setup according to docs.