Include attendance in course list view
Extract attendance directive