37 lines
971 B
Plaintext
37 lines
971 B
Plaintext
$newline never
|
|
|
|
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
|
|
$#
|
|
$# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
\<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
h1 {
|
|
font-size: 1.25em;
|
|
font-variant: small-caps;
|
|
font-weight: normal;
|
|
}
|
|
<body>
|
|
<h1>
|
|
_{SomeMessage $ MsgMailUserRightsIntro userDisplayName userEmail}
|
|
<dl>
|
|
$forall (function, schools) <- Map.toList functions
|
|
<dt>_{SomeMessage $ function}
|
|
<dd>
|
|
<ul>
|
|
$forall sn <- schools
|
|
<li>
|
|
#{sn}
|
|
$with numSchools <- maybe 0 Set.size $ Map.lookup SchoolLecturer functions
|
|
$if numSchools > 0
|
|
<p>
|
|
<a href=@{CourseNewR}>
|
|
_{SomeMessage $ MsgMailLecturerRights numSchools}
|
|
$else
|
|
<p>_{SomeMessage $ MsgMailNoLecturerRights}
|
|
|
|
^{ihamletSomeMessage editNotifications}
|