def _course_info_student(request, course_slug):
    course = get_object_or_404(CourseOffering, slug=course_slug)
    activities = all_activities_filter(offering=course)
    activities = [a for a in activities if a.status in ['RLS', 'URLS']]
    any_group = True in [a.group for a in activities]
    has_index = bool(Page.objects.filter(offering=course, label="Index", can_read__in=ACL_ROLES['STUD']))
    try:
        forum = Forum.objects.get(offering=course)
        forum_enabled = forum.enabled
    except Forum.DoesNotExist:
        forum_enabled = False

    activity_data = []
    student = Member.objects.get(offering=course, person__userid=request.user.username, role='STUD')
    for activity in activities:
        data = {}
        data['act'] = activity
        data['grade_display'] = activity.display_grade_student(student.person)
        activity_data.append(data)