added no posts message if there are no posts for a course