enhance activity detail directive to handle slight display differences between student and teacher tabs