What

A Person Profile Badge that shows if a person has a Background Check, and the result of that check.

Why

While the Background Check attributes are readily available on the Extended Attributes page (given you're in a role that can see them), you cannot tell at a glance if a person has a background check, and what the state of that check is.

How

  1. Go to Admin | General Settings | Person Profile Badges and add a new badge with the following settings:
    • Name: Background Check
    • Description: Indicates if a person has a BGC and indicates pass/fail.
    • Badge Type: Lava Badge
    • Display Text:
      {% assign backgroundCheckResult = Person | Attribute:'BackgroundCheckResult' %}
      {% if backgroundCheckResult != empty %}
          <div class="badge" 
              {% if backgroundCheckResult == 'Pass' %}
                  style="color:#43BE81 "
                  data-toggle="tooltip" data-original-title="{{ Person.NickName }} was background-checked on {{ Person | Attribute:'BackgroundCheckDate' }}. Result: PASS">
              {% else %}
                  style="color:#b00000 "
                  data-toggle="tooltip" data-original-title="{{ Person.NickName }} was background-checked on {{ Person | Attribute:'BackgroundCheckDate' }}. Result: FAIL">
              {% endif %}
                 <i class="badge-icon fa fa-check"></i>
            </div>
               
      {% else %}
              <div class="badge badge-baptism" style="color:#666666 " data-toggle="tooltip" data-original-title="No Background Check for {{ Person.NickName }}.">
                      <i class="badge-icon badge-disabled fa fa-check"></i>
              </div>
      {% endif %}
      
  2. Save the badge.
  3. Go to any Person Profile page and edit the Badges1, Badges2, or Badges3 block, depending on where you want this badge to show up.
  4. Select your Background Check badge in the list of available badges.
  5. Refresh the page and you should now see a Background Check badge (checkmark), which you can hover-over to see the details.The badge will be green for pass, red for failed. On people with no Background Check at all, the checkmark will be grayed-out.

You can of course change the FontAwesome icon and colors to something else if you don't like green/red checkmarks.

It's unlikely that you'll want this badge visible to all Staff due to its sensitive nature, so secure it to an appropriate role in your organization.