Returns a random string from message_templates.positive if mark > 0 otherwise a random string from message_templates.negative array.
message_templates.positive
message_templates.negative
Mark that a student got.
Renders random template from message_templates.positive/negative array, depending on whether data.mark is greater or lesser than 0.
message_templates.positive/negative
an object that contains the info about the type of template to render and all the needed data about the event.
Generated using TypeDoc
Returns a random string from
message_templates.positive
if mark > 0 otherwise a random string frommessage_templates.negative
array.