WL-3133 Use teachingDetails instead of slot.

When we got rid of slot there were some places in the JSPs that still referred to it and these didn't get caught by the refactoring. The pages would fall over with a stack trace.