$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

<div .scrolltable .div__course-teaser *{dbsAttrs'}>
  $maybe wdgt <- wHeaders
    <div .course-teaser-header>
      ^{wdgt}
      $if not doSorting
        <p .explanation>
          _{MsgCourseSortingOnlyLoggedIn}
  $if null wRows && (dbsEmptyStyle == DBESHeading)
    <p>_{dbsEmptyMessage}
  $else
    $forall row <- wRows
      ^{row}
