$if isRegistered
$maybe deadline <- allocationCourseAcceptSubstitutes _{MsgCourseAllocationCourseAcceptsSubstitutesUntil}: # ^{formatTimeW SelFormatDateTime deadline} $nothing _{MsgCourseAllocationCourseAcceptsSubstitutesNever} $if allocationCourseAcceptSubstitutes >= Just now \ ^{iconOK}
_{MsgCourseAllocationCourseParticipants}: $maybe capacity <- courseCapacity \ _{MsgCourseMembersCountLimited partCount capacity} $if partCount < capacity \ ^{iconProblem} $nothing \ _{MsgCourseMembersCount partCount} \ ^{iconProblem} $if hasApplicationTemplate || is _Just courseApplicationsInstructions
#{aInst} $maybe templateUrl <- mApplicationTemplate