This PR fixes a few issues with PDF styling to improve both the overall layout and to improve fonts/consistency.
Firstly, this fixes issues with OR rules rendering multiple course boxes for all the branches. This now renders this as one. This does remove any pre-filled values from the template, though these are now listed as part of the rule description itself when this occurs.
Student filled values will still fill as per normal (note the changes as well to the student-facing frontend to fix that there as well).
The top title has been tweaked to maximise space, noting that if a student put in a really long title this would cause issues. This provides (at least) a little more space there.
Breaks between boxes has been removed, noting that a smaller plan was preferred in testing (ideally, one page). Further, we now render 4 columns (rather than 3) as this doesn't really affect readability and allows us to get more course boxes onto the page. Page margins have also been tweaked.
Edit: Sample image:
Jack's Edit: Will also Close #416, as through testing this PR seems to remove the bug
Closes #385.
Closes #442.
Should close #440.
(Another big one, sorry!)
This PR fixes a few issues with PDF styling to improve both the overall layout and to improve fonts/consistency.
Firstly, this fixes issues with OR rules rendering multiple course boxes for all the branches. This now renders this as one. This does remove any pre-filled values from the template, though these are now listed as part of the rule description itself when this occurs.
Student filled values will still fill as per normal (note the changes as well to the student-facing frontend to fix that there as well).
The top title has been tweaked to maximise space, noting that if a student put in a really long title this would cause issues. This provides (at least) a little more space there.
Breaks between boxes has been removed, noting that a smaller plan was preferred in testing (ideally, one page). Further, we now render 4 columns (rather than 3) as this doesn't really affect readability and allows us to get more course boxes onto the page. Page margins have also been tweaked.
Edit: Sample image:
Jack's Edit: Will also Close #416, as through testing this PR seems to remove the bug