fradrive/templates/widgets/occurrence/cell.hamlet
2022-10-12 09:35:16 +02:00

22 lines
666 B
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
$if not (null occurrencesScheduled)
<ul .list--inline .list--iconless .list--comma-separated>
$forall sched <- occurrencesScheduled'
<li>^{sched}
$if not (null occurrencesExceptions)
$# <div .tooltip>
$# <div .tooltip__handle .tooltip__handle--danger>
$# <div .tooltip__content>
<ul .list--iconless>
$forall exc <- occurrencesExceptions'
<li>^{exc}
$# $if null occurrencesScheduled && null occurrencesExceptions
$# _{MsgOccurrenceNever}