fix(schedule): hide course event reset action if no opt to reset
This commit is contained in:
parent
c6a84b314c
commit
2c9d5e0a22
@ -289,8 +289,9 @@ $# $if NTop (Just 0) < NTop (courseCapacity course)
|
||||
<div .table__td-content>
|
||||
<a .btn .btn-primary href=@{CEventR tid ssh csh cID (CEvScheduleOptSetR (not (maybe userScheduleOccurrenceDisplayDefault courseEventScheduleOptOpt mEventScheduleOpt)))}>
|
||||
_{bool MsgScheduleOptIn MsgScheduleOptOut (maybe userScheduleOccurrenceDisplayDefault courseEventScheduleOptOpt mEventScheduleOpt)}
|
||||
<a .btn .btn-primary href=@{CEventR tid ssh csh cID CEvScheduleOptDelR}>
|
||||
_{MsgScheduleOptDelete}
|
||||
$if is _Just mEventScheduleOpt
|
||||
<a .btn .btn-primary href=@{CEventR tid ssh csh cID CEvScheduleOptDelR}>
|
||||
_{MsgScheduleOptDelete}
|
||||
$if mayCreateEvents
|
||||
<td .table__td>
|
||||
<ul .list--inline .list--iconless .list--comma-separated>
|
||||
|
||||
Reference in New Issue
Block a user