$newline never $# SPDX-FileCopyrightText: 2022 Gregor Kleen ,Sarah Vaupel ,Steffen Jost ,Winnie Ros $# $# SPDX-License-Identifier: AGPL-3.0-or-later
_{MsgTableSubmission} #{cid} $maybe Entity _ usr <- corrector
_{MsgRatingBy} ^{userEmailWidget usr} $maybe time <- submissionRatingTime
_{MsgTableRatingTime} ^{formatTimeW SelFormatDateTime time} $maybe points <- submissionRatingPoints $maybe grading <- preview _grading sheetType $case grading $of Points{..}
^{sheetTypeDesc tr} _{MsgTableAchievedOf points maxPoints} $of PassPoints{..}
^{sheetTypeDesc tr} $if fromMaybe False (gradingPassed grading points) _{MsgTablePassed} $else _{MsgTableNotPassed}
_{MsgAchievedPassPoints} _{MsgPassAchievedOf points passingPoints maxPoints} $of PassBinary
^{sheetTypeDesc tr} $if fromMaybe False (gradingPassed grading points) _{MsgTablePassed} $else _{MsgTableNotPassed} $of PassAlways $if filesCorrected
_{MsgRatingFiles} _{MsgRatingUpdatedFiles} $maybe comment <- ratingComment
_{MsgRatingComment} #{comment}