feat(course-events): show notes in course events table
This commit is contained in:
parent
6ad8f2ee29
commit
b2c4125ca3
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user