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

31 lines
1.1 KiB
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
$if null matchings
<p .explanation>
_{MsgAllocationMatchingsNone}
$else
<div .scrolltable .scrolltable--bordered>
<table .table .table--hover .table--striped>
<thead>
<tr .table__row--head>
<th .table__th>
_{MsgAllocationMatchingsTime}
<th .table__th>
_{MsgAllocationMatchingsFingerprint}
<th .table__th>
_{MsgAllocationMatchingsLog}
<tbody>
$forall (cID, AllocationMatching{allocationMatchingTime, allocationMatchingFingerprint}) <- matchings
<tr .table__row>
<td .table__td>
^{formatTimeW SelFormatDateTime allocationMatchingTime}
<td .table__td .allocation-matching-fingerprint>
#{showFingerprint allocationMatchingFingerprint}
<td .table__td>
<a href=@{AllocationR tid ssh ash (AMatchingR cID AMLogR)}>
_{MsgAllocationMatchingsLog}