You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 20, 2019. It is now read-only.
Currently if you login as an admin and click "Manage Sections", it will display a single number that lumps together all the attendance for that particular student. Instead of a single number, separate numbers denoting approved / excused / pending / denied is much more informative and helps out when considering when we need to drop the student.
controllers/admins/admins_controller.rb # can change the manage_sections function
Line 15 of the partial outputs the number with some logic on how to calculate it. Change it so it outputs all the attendance numbers of that student, separated by slashes and color-coded for readability. (You can choose the colors yourself). You probably don't need to change the controller, but I've pointed out the relevant function in case you need to.
The text was updated successfully, but these errors were encountered:
Currently if you login as an admin and click "Manage Sections", it will display a single number that lumps together all the attendance for that particular student. Instead of a single number, separate numbers denoting approved / excused / pending / denied is much more informative and helps out when considering when we need to drop the student.
Relevant files
Line 15 of the partial outputs the number with some logic on how to calculate it. Change it so it outputs all the attendance numbers of that student, separated by slashes and color-coded for readability. (You can choose the colors yourself). You probably don't need to change the controller, but I've pointed out the relevant function in case you need to.
The text was updated successfully, but these errors were encountered: