fradrive/templates/participants-list.hamlet
2022-10-12 09:35:16 +02:00

23 lines
774 B
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Winnie Ros <winnie.ros@campus.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
<div .scrolltable .scrolltable--bordered>
<table .table .table--striped .table--hover>
<thead>
<tr .table__row .table__row--head>
<th .table__th>_{MsgTableTerm}
$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}