Skip to content

Highlight inactive students and supervisors in pending forms#586

Merged
BrianRamsay merged 7 commits into
developmentfrom
sahbLSF
Jun 22, 2026
Merged

Highlight inactive students and supervisors in pending forms#586
BrianRamsay merged 7 commits into
developmentfrom
sahbLSF

Conversation

@BhushanSah

@BhushanSah BhushanSah commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Issue Description

Fixes issue #573

The Pending Forms table now highlights inactive supervisors and students in red. This helps Labor identify inactive people before approving forms, reducing the chance of approval errors later from Banner when a supervisor or student is inactive.

Changes
Added active/inactive tracking for students using an isActive field.
Updated the person refresh logic so students and supervisors found in Tracy are marked active.
Updated the refresh logic so that students and supervisors not found in Tracy are marked inactive.
Updated the Pending Forms table to display inactive supervisor names in red.
Updated the Pending Forms table to display inactive student names in red.
Used Bootstrap text-danger with inline override styling so the red color is visible even when existing hover styles are applied.
test
This one is before marking Dr Scott as isActive=True
test 2 before making scott as isActive=True

Notify user
notify inactive

Final Template
student inactive
Supervisior inactive

Comment thread app/templates/admin/allPendingForms.html
Comment thread app/templates/admin/allPendingForms.html
Comment thread app/templates/admin/allPendingForms.html
@BrianRamsay BrianRamsay merged commit d973fd5 into development Jun 22, 2026
@BrianRamsay BrianRamsay deleted the sahbLSF branch June 22, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants