fradrive/templates/participants-list.hamlet
2020-01-17 17:55:14 +01:00

18 lines
609 B
Plaintext

$newline never
<div .scrolltable .scrolltable--bordered>
<table .table .table--striped .table--hover>
<thead>
<tr .table__row .table__row--head>
<th .table__th>_{MsgTerm}
$forall school <- schools
<th .table__th>#{unSchoolKey school}
<tbody>
$forall term <- terms
<tr .table__row>
<th .table__th>_{ShortTermIdentifier (unTermKey term)}
$forall school <- schools
<td .table__td>
$if Set.member (school, term) schoolTerms
<a href=@{ParticipantsR term school}>
#{iconFileCSV}