From b2c4125ca3f76e65aa4eb4390e6d1e7013d1eb0d Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 31 Mar 2020 14:11:25 +0200 Subject: [PATCH] feat(course-events): show notes in course events table --- templates/course.hamlet | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/course.hamlet b/templates/course.hamlet index 151a3291a..4d99c9288 100644 --- a/templates/course.hamlet +++ b/templates/course.hamlet @@ -213,12 +213,14 @@ $# $if NTop (Just 0) < NTop (courseCapacity course) _{MsgCourseEventTime} _{MsgCourseEventRoom} + + _{MsgCourseEventNote} $if mayCreateEvents _{MsgCourseEventActions} \ #{iconInvisible} - $forall (cID, CourseEvent{courseEventType, courseEventTime, courseEventRoom}) <- events + $forall (cID, CourseEvent{courseEventType, courseEventTime, courseEventRoom, courseEventNote}) <- events toPathPiece cID}>
@@ -229,6 +231,9 @@ $# $if NTop (Just 0) < NTop (courseCapacity course)
#{courseEventRoom} + +
+ #{courseEventNote} $if mayCreateEvents