YACS-RCOS / yacs-web

Frontend for YACS!
MIT License
5 stars 14 forks source link

Show section status if available, and only show seat information if available #48

Open Bad-Science opened 6 years ago

Bad-Science commented 6 years ago

As per yacs-rcos/university#8 a new field status will be available on sections. We want to display this if it is available (if it is not null), either alongside or in place of the seats and seats_taken fields.

Additionally, if either seats or seats_taken are null, that information should not be displayed, and only the status should be displayed.

If status, seats, and seats_taken are all null, then neither of them should be displayed.

Before implementing this (or during), please post a screenshot or mockup of what it will look like in all four cases.

This issue will require editing the section template, and possibly the section controller.