fradrive/backend/templates/mail/userRightsUpdate.hamlet
Sarah Vaupel 72f5a9fb37 build: move backend-related files into backend dir; implement and connect services via docker-compose
TODOs left: reimplement clean and help, sync static,well-known and assets between services
2025-03-23 04:52:49 +01:00

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}