Closed bledsoef closed 3 months ago
Should the admin tab also show 'Admin (5)' ? This would let the admin know that there are items that need addressed in the admin tab.
Additionally, I think it might be more noticeable if there was a color change when there was something requested or a box or something. Otherwise, the issue looks good.
Without context, the numbers don't look like things that need to be addressed; they just look like numbers randomly on the page, in my opinion.
@andersoncedu In response to your comments, I should have commented this here but Brian and Anderson's suggestion was a hover to show more detail about the numbers. Otherwise since there are only a handful of admins and this will be demoed for them having it explicitly stated what the numbers are isn't super important.
Additionally, I think it might be more noticeable if there was a color change when there was something requested or a box or something. Otherwise, the issue looks good.
I think a color might not be necessary. Having the numbers there seems to be sufficient
Issue
Fixes issue #1146 and issue #1147
We were wanting to the admin to be able to see important information like courses they need to approve and students who expressed interest since those require their action.
Changes
admin/routes.py
called getSidebarInformation that gets all of the unapproved courses and all of the students who expressed interest in the CCE minor to display in the sidebar.sidebar.js
that calls an ajax request on sidebar load and adds the numbers to the sidebar if applicable.sidebar.html
to include the new script and gave the Course Management and Minor Management tabs an id to be referenced by the JavaScript script.Testing
1146-interested-students-sidebar