feat(course-events): show notes in course events table

This commit is contained in:
Sarah Vaupel 2020-03-31 14:11:25 +02:00
parent 6ad8f2ee29
commit b2c4125ca3

View File

@ -213,12 +213,14 @@ $# $if NTop (Just 0) < NTop (courseCapacity course)
_{MsgCourseEventTime}
<th .table__th>
_{MsgCourseEventRoom}
<th .table__th>
_{MsgCourseEventNote}
$if mayCreateEvents
<th .table__th>
_{MsgCourseEventActions}
\ #{iconInvisible}
<tbody>
$forall (cID, CourseEvent{courseEventType, courseEventTime, courseEventRoom}) <- events
$forall (cID, CourseEvent{courseEventType, courseEventTime, courseEventRoom, courseEventNote}) <- events
<tr .table__row ##{"event-" <> toPathPiece cID}>
<td .table__td>
<div .table__td-content>
@ -229,6 +231,9 @@ $# $if NTop (Just 0) < NTop (courseCapacity course)
<td .table__td>
<div .table__td-content>
#{courseEventRoom}
<td .table__td>
<div .table__td-content>
#{courseEventNote}
$if mayCreateEvents
<td .table__td>
<ul .list--inline .list--iconless .list--comma-separated>