$newline never $maybe ExternalExamResult{externalExamResultResult} <- mResult

_{MsgExamResult}

$case externalExamResultResult $of ExamAttended grade _{grade} $of ExamNoShow _{MsgExamNoShow} $of ExamVoided _{MsgExamVoided}

_{MsgTerm}
_{unTermKey externalExamTerm}
_{MsgCourseSchool}
#{schoolName}
_{MsgCourseName}
#{externalExamCourseName}
_{MsgExamName}
#{externalExamExamName} $maybe examTime <- fmap externalExamResultTime mResult <|> externalExamDefaultTime
_{MsgExamTime}
^{formatTimeW SelFormatDateTime examTime} $if not (null addSchools)
_{MsgExternalExamExamOfficeSchools}
    $forall Entity _ School{schoolName} <- addSchools
  • #{schoolName} $if not (null staff)
    _{MsgExternalExamStaff}
      $forall s <- staff $case s $of Right (Entity _ User{userDisplayName, userDisplayEmail, userSurname})
    • ^{nameEmailWidget userDisplayEmail userDisplayName userSurname} $of Left email
    • #{email}