[enrollment status] refactor enrollment status in students/view