chore: use css for strikethrough decoration
This commit is contained in:
parent
ea32fdfa91
commit
22cc5f13a6
@ -971,7 +971,7 @@ th, td
|
|||||||
right: 5px
|
right: 5px
|
||||||
top: 5px
|
top: 5px
|
||||||
|
|
||||||
.occurrence--not-registered, .no-bonus, .allocation-course--excluded, .allocation-course--inactive
|
.occurrence--not-registered, .no-bonus, .allocation-course--excluded, .allocation-course--inactive, .occurrence--ignored
|
||||||
text-decoration: line-through
|
text-decoration: line-through
|
||||||
|
|
||||||
.result
|
.result
|
||||||
|
|||||||
@ -27,53 +27,25 @@ $newline never
|
|||||||
<tbody>
|
<tbody>
|
||||||
$forall Entity occId ExamOccurrence{ examOccurrenceName, examOccurrenceRoom, examOccurrenceStart, examOccurrenceEnd, examOccurrenceDescription, examOccurrenceCapacity } <- occurrences
|
$forall Entity occId ExamOccurrence{ examOccurrenceName, examOccurrenceRoom, examOccurrenceStart, examOccurrenceEnd, examOccurrenceDescription, examOccurrenceCapacity } <- occurrences
|
||||||
<tr .table__row>
|
<tr .table__row>
|
||||||
<td .table__td>
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
$if isIgnored occId
|
_{examOccurrenceName}
|
||||||
<s>
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
_{examOccurrenceName}
|
_{loadProp (occLoad occId) examOccurrenceCapacity}
|
||||||
$else
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
_{examOccurrenceName}
|
|
||||||
<td .table__td>
|
|
||||||
$if isIgnored occId
|
|
||||||
<s>
|
|
||||||
_{loadProp (occLoad occId) examOccurrenceCapacity}
|
|
||||||
$else
|
|
||||||
_{loadProp (occLoad occId) examOccurrenceCapacity}
|
|
||||||
<td .table__td>
|
|
||||||
$maybe nudgeWgt' <- Map.lookup occId nudgeWgt
|
$maybe nudgeWgt' <- Map.lookup occId nudgeWgt
|
||||||
^{nudgeWgt'}
|
^{nudgeWgt'}
|
||||||
$maybe ignoreRoomWgt' <- Map.lookup occId ignoreRoomWgt
|
$maybe ignoreRoomWgt' <- Map.lookup occId ignoreRoomWgt
|
||||||
^{ignoreRoomWgt'}
|
^{ignoreRoomWgt'}
|
||||||
<td .table__td>
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
$if isIgnored occId
|
$maybe mappingWgt <- occMapping occId
|
||||||
<s>
|
^{mappingWgt}
|
||||||
$maybe mappingWgt <- occMapping occId
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
^{mappingWgt}
|
$maybe room <- examOccurrenceRoom
|
||||||
$else
|
^{roomReferenceWidget room}
|
||||||
$maybe mappingWgt <- occMapping occId
|
$nothing
|
||||||
^{mappingWgt}
|
_{MsgExamOccurrenceRoomIsUnset}
|
||||||
<td .table__td>
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
$if isIgnored occId
|
^{formatTimeRangeW SelFormatDateTime examOccurrenceStart examOccurrenceEnd}
|
||||||
<s>
|
<td .table__td :isIgnored occId:.occurrence--ignored>
|
||||||
$maybe room <- examOccurrenceRoom
|
|
||||||
^{roomReferenceWidget room}
|
|
||||||
$nothing
|
|
||||||
_{MsgExamOccurrenceRoomIsUnset}
|
|
||||||
$else
|
|
||||||
$maybe room <- examOccurrenceRoom
|
|
||||||
^{roomReferenceWidget room}
|
|
||||||
$nothing
|
|
||||||
_{MsgExamOccurrenceRoomIsUnset}
|
|
||||||
<td .table__td>
|
|
||||||
$if isIgnored occId
|
|
||||||
<s>
|
|
||||||
^{formatTimeRangeW SelFormatDateTime examOccurrenceStart examOccurrenceEnd}
|
|
||||||
$else
|
|
||||||
^{formatTimeRangeW SelFormatDateTime examOccurrenceStart examOccurrenceEnd}
|
|
||||||
<td .table__td>
|
|
||||||
$maybe desc <- examOccurrenceDescription
|
$maybe desc <- examOccurrenceDescription
|
||||||
$if isIgnored occId
|
#{desc}
|
||||||
<s>
|
|
||||||
#{desc}
|
|
||||||
$else
|
|
||||||
#{desc}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user