Closed JoaoGarcao closed 2 months ago
@JoaoGarcao please fix the lint's.
make lint-back
make lint-front
On the last image scenario, Compacted version for self-paced & same languages for all runs, please remove the Enrollment. This means that the header with the Enrollment as text shouldn't be displayed on the compacted version.
@jbpenrath - I haven't present to you @JoaoGarcao , but he is a student that have been doing a curricular internship on NAU. I've already reviewed this PR with him, but I think you or someone from FUN should review this PR, before we merge it. This PR has impact on almost 100% of NAU course pages, but on you side as lower impact ( < 50% opened are self paced).
fix #1969
Change the message of the enrollment period for a course with single opened run when it is self-paced, and hide the languages of a course when every run of that course has the same languages as all the others.
Opened self-paced course:
This PR shows a compacted version of the information. Before:
After:
Opened course with the same languages as all the other runs of that course
As all runs for the course as the same languages, showing the same exact information multiple times is unnecessary, so this PR removes that languages on each run syllabus. This behavior is the same for both self-paced and instructor-paced courses. Before:
After:
Instructor course with different languages, stays the same
If a course isn't self-paced (instructor pace) and the languages of all runs of that course aren't equal, then the course run card stays the same as it was:
Compacted version for self-paced & same languages for all runs
If an opened course run is self-paced and the languages of all runs of that course are equal, then the course run card will be as displayed bellow. This is the normal/majority of the courses in NAU.
Compacted version for self-paced, same languages for all runs & no course end date
if we have the case described above, but also there is no course end date, then the course run card will be:
FYI @igobranco @sandroscosta