def _get_grade_value(course_grade):
    """
    Get the user's course grade as a percent, or an empty string if there is no grade
    """
    if course_grade:
        return course_grade.percent
    return ''