$newline never

$# SPDX-FileCopyrightText: 2022 Steffen Jost <jost@tcs.ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later

<section>
  <h2>
    _{MsgProblemsHeadingDrivers}

  <dl .deflist>
    <dt .deflist__dt>^{flagError driversHaveAvsIds}
    <dd .deflist__dd>^{simpleLinkI MsgProblemsDriversHaveAvsIds ProblemWithoutAvsId}

    $case diffLics
      $of Left err
        <dt .deflist__dt>^{flagError False}
        <dd .deflist__dd>^{modal (i18n MsgProblemsAvsProblem) (Right err)}

      $of Right (ok0,ok1up,ok1down,ok2)
        <dt .deflist__dt>^{flagNonZero ok2}
        <dd .deflist__dd>^{simpleLinkI MsgProblemsDriverSynch2 ProblemAvsSynchR}

        <dt .deflist__dt>^{flagNonZero ok1down}
        <dd .deflist__dd>^{simpleLinkI MsgProblemsDriverSynch1down ProblemAvsSynchR}    

        <dt .deflist__dt>^{flagNonZero ok1up}
        <dd .deflist__dd>^{simpleLinkI MsgProblemsDriverSynch1up ProblemAvsSynchR}

        <dt .deflist__dt>^{flagNonZero ok0}
        <dd .deflist__dd>^{simpleLinkI MsgProblemsDriverSynch0 ProblemAvsSynchR}    

    <dt .deflist__dt>^{flagWarning rDriversHaveFs}
    <dd .deflist__dd>^{simpleLinkI MsgProblemsRDriversHaveFs ProblemFbutNoR}


<section>
  <h2>
    _{MsgProblemsHeadingNotifications}

  <dl .deflist>
    <dt .deflist__dt>^{flagError usersAreReachable}
    <dd .deflist__dd>^{simpleLinkI MsgProblemsUsersAreReachable ProblemUnreachableR}

    <dt .deflist__dt>^{flagError noStalePrintJobs}
    <dd .deflist__dd>^{simpleLinkI (MsgProblemsNoStalePrintJobs cutOffOldDays) PrintCenterR}

    <dt .deflist__dt>^{flagError noBadAPCids}
    <dd .deflist__dd>_{MsgProblemsNoBadAPCIds}

    $maybe reroute <- rerouteMail
      <dt .deflist__dt>^{flagWarning False}
      <dd .deflist__dd>_{MsgMailRerouteTo reroute}

<section>
  <h2>
    _{MsgMenuInterfaces}  
  <div>
    <p> 
      $if interfacesBadNr > 0
        _{MsgInterfacesFail interfacesBadNr}
      $else
        _{MsgInterfacesOk}
    ^{interfaceTable}

<!-- section h2 {MsgProblemsHeadingMisc} -->

