fradrive/templates/exam-office/exam-result-synced.hamlet
2022-10-12 09:35:16 +02:00

38 lines
1.2 KiB
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
<h1>
^{nameWidget userDisplayName userSurname}
<table .table .table--striped .table--hover>
<thead>
<tr .table__row .table__row--head>
<td>
<td .table__th>_{MsgExamUserSyncOfficeName}
<td .table__th>_{MsgExamUserSyncTime}
<td .table__th>_{MsgExamUserSyncSchools}
$forall sync <- syncs'
$case sync
$of Right (officeDisplayName, officeSurname, time, sshs)
<tr .table__row>
<td>
<td .table__td>
^{nameWidget officeDisplayName officeSurname}
<td .table__td>
^{formatTimeW SelFormatDateTime time}
<td .table__td>
<ul .list--inline .list--comma-separated>
$forall ssh' <- sshs
#{ssh'}
$of Left lastChange
<tr .table__row>
<td .table__td style="text-align: right">
_{MsgExamUserSyncLastChange}
<td .table__td>
<td .table__td>
^{formatTimeW SelFormatDateTime lastChange}
<td .table__td>