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}
|
_{MsgCourseEventTime}
|
||||||
<th .table__th>
|
<th .table__th>
|
||||||
_{MsgCourseEventRoom}
|
_{MsgCourseEventRoom}
|
||||||
|
<th .table__th>
|
||||||
|
_{MsgCourseEventNote}
|
||||||
$if mayCreateEvents
|
$if mayCreateEvents
|
||||||
<th .table__th>
|
<th .table__th>
|
||||||
_{MsgCourseEventActions}
|
_{MsgCourseEventActions}
|
||||||
\ #{iconInvisible}
|
\ #{iconInvisible}
|
||||||
<tbody>
|
<tbody>
|
||||||
$forall (cID, CourseEvent{courseEventType, courseEventTime, courseEventRoom}) <- events
|
$forall (cID, CourseEvent{courseEventType, courseEventTime, courseEventRoom, courseEventNote}) <- events
|
||||||
<tr .table__row ##{"event-" <> toPathPiece cID}>
|
<tr .table__row ##{"event-" <> toPathPiece cID}>
|
||||||
<td .table__td>
|
<td .table__td>
|
||||||
<div .table__td-content>
|
<div .table__td-content>
|
||||||
@ -229,6 +231,9 @@ $# $if NTop (Just 0) < NTop (courseCapacity course)
|
|||||||
<td .table__td>
|
<td .table__td>
|
||||||
<div .table__td-content>
|
<div .table__td-content>
|
||||||
#{courseEventRoom}
|
#{courseEventRoom}
|
||||||
|
<td .table__td>
|
||||||
|
<div .table__td-content>
|
||||||
|
#{courseEventNote}
|
||||||
$if mayCreateEvents
|
$if mayCreateEvents
|
||||||
<td .table__td>
|
<td .table__td>
|
||||||
<ul .list--inline .list--iconless .list--comma-separated>
|
<ul .list--inline .list--iconless .list--comma-separated>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user