unikent / of-course

Of Course! is an opinionated API front-end for consuming programmes data.
Other
1 stars 1 forks source link

Feature/cma improvements 2019 Courses #1019

Closed cfc7-unikent closed 5 years ago

cfc7-unikent commented 5 years ago

Marked as a WIP since we are not sure of the ordering logic of deliveries as yet.

This pull request uses slightly different display logic for rendering lists of modules for PG and UG courses for 2019 onwards.

The lists of modules now are separated into compulsory and optional lists. Using what is considered to be the main delivery of course as the 'true' representation of the course structure.

A module cluster is considered to contain compulsory modules if:

cluster size = modules required AND compulsory = Y

The logic for that has been added to the utils file to reduce some of the logic which is taking place within the display partials.