I had a recent request to do two things:
- Make the Waitlisted tag in the User Personal Summary more explanatory and obvious
- Create a Fail status that shows up in red in the User Personal Summary
While we could debate the effects of using a big red FAILED on what is essentially a transcript, I thought I’d share how to accomplish it. Once you know how to do this you can adjust terminology and colors to match your business needs.
First we’ll start with labels and changing them to be more informative.
FAILED COURSE STATUS
For this we’re going to repurpose the “suspended” status used in the LMS. Obviously this won’t work for you if you’re using the suspended status for something else.
- Go to the Localization tool.
- “Translate” the following to the new values on the right:
standard | _SUSPENDED | Failed |
standard | _USER_STATUS_SUSPEND | Failed |
What this will do is let you choose the Failed status for sessions and courses manually. It will be displayed in the drop-down status list, and will show up in the User Personal Summary.
WAITLISTING
For the waiting status, our folks are in a waiting status only if they’re paying by PO (Wire Transfer) or their credit cards didn’t go through. If you’re using normal waitlisting, you probably don’t want to do this.
standard | _WAITING_USERS | Waiting Users/Pending Payment |
STYLING LABELS
Then let’s change some styling. It just so happens that both the waitlisted and (former) suspended statuses are displayed with both the “courses-grid-wrapper” and “user-status” classes, so one line does it in your custom styles CSS:
nclass="courses-grid-wrapper"] sclass="user-status"] {
background-color: red !important;
}
(If you’re not familiar with the square brackets, they are attribute selectors. Here we’re matching anything that has both of the classes applied to it.)
Let me know how this works for you!