From 25fb1698475dd2fc71c520093423626146c05e7f Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Wed, 21 Sep 2022 13:21:50 +0200 Subject: [PATCH] chore(lms): add e-learning convenience link to notification email body --- messages/uniworx/categories/qualification/de-de-formal.msg | 4 ++-- messages/uniworx/categories/qualification/en-eu.msg | 4 ++-- templates/mail/qualificationRenewal.hamlet | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/messages/uniworx/categories/qualification/de-de-formal.msg b/messages/uniworx/categories/qualification/de-de-formal.msg index d8ba68545..eb35d0c2c 100644 --- a/messages/uniworx/categories/qualification/de-de-formal.msg +++ b/messages/uniworx/categories/qualification/de-de-formal.msg @@ -51,7 +51,7 @@ MailSubjectQualificationRenewal qname@Text: Qualifikation #{qname} muss demnäch MailSubjectQualificationExpiry qname@Text: Qualifikation #{qname} läuft demnächst ab MailBodyQualificationRenewal: Sie müssen diese Qualifikaton demnächst durch einen E-Lernen Kurs erneuern. MailBodyQualificationExpiry: Diese Qualifikaton läuft bald ab. Tätigkeiten, welche diese Qualifikation voraussetzen dürfen dann nicht länger ausgeübt werden! -LmsRenewalInstructions: Anweisungen zur Verlängerung finden Sie im angehängten PDF. Um Missbrauch zu verhindern wurde das PDF dem von Ihnen in FRADrive hinterlegten PIN-Passwort verschlüsselt. Falls kein PIN-Passwort hinterlegt wurde, ist das Passwort ihre Fraport Ausweisnummer, inklusive Punkt und der Ziffer danach. +LmsRenewalInstructions: Anweisungen zur Verlängerung finden Sie im angehängten PDF. Um Missbrauch zu verhindern wurde das PDF dem von Ihnen in FRADrive hinterlegten PDF-Passwort verschlüsselt. Falls kein PDF-Passwort hinterlegt wurde, ist das PDF-Passwort Ihre Fraport Ausweisnummer, inklusive Punkt und der Ziffer danach. LmsNoRenewal: Leider kann diese Qualifikation nicht alleine durch E-Lernen verlängert werden. LmsActNotify: Benachrichtigung E-Lernen erneut per Post oder E-Mail versenden LmsActRenewPin: Neue zufällige E-Lernen PIN zuweisen @@ -62,7 +62,7 @@ LmsActionFailed n@Int: Aktion nicht durchgeführt für #{n} #{pluralDE n "Person MppOpening: Anrede MppClosing: Grußformel MppDate: Datum -MppURL: Link Prüfung +MppURL: Link E-Lernen MppLogin !ident-ok: Login MppPin !ident-ok: Pin MppRecipient: Empfänger diff --git a/messages/uniworx/categories/qualification/en-eu.msg b/messages/uniworx/categories/qualification/en-eu.msg index aba17c5d5..934be1526 100644 --- a/messages/uniworx/categories/qualification/en-eu.msg +++ b/messages/uniworx/categories/qualification/en-eu.msg @@ -51,7 +51,7 @@ MailSubjectQualificationRenewal qname@Text: Qualification #{qname} must be renew MailSubjectQualificationExpiry qname@Text: Qualification #{qname} expires soon MailBodyQualificationRenewal: You will soon need to renew this qualficiation by completing an e-learning course. MailBodyQualificationExpiry: This qualificaton expires soon. You may then no longer execute any duties that require this qualification as a precondition! -LmsRenewalInstructions: Instruction on how to accomplish the renewal are enclosed in the attached PDF. In order to avoid misuse, the PDF is encrypted with your chosen FRADrive PIN-Password. If you have not yet chosen a PIN-Password yet, then the password is your Fraport id card number, inkluding the punctuation mark and the Digit thereafter. +LmsRenewalInstructions: Instruction on how to accomplish the renewal are enclosed in the attached PDF. In order to avoid misuse, the PDF is encrypted with your chosen FRADrive PDF-Password. If you have not yet chosen a PDF-Password yet, then the password is your Fraport id card number, inkluding the punctuation mark and the Digit thereafter. LmsNoRenewal: Unfortunately, this particular qualification cannot be renewed through E-learning only. LmsActNotify: Resend e-learning notification by post or email LmsActRenewPin: Randomly replace e-learning PIN @@ -62,7 +62,7 @@ LmsActionFailed n@Int: No action for #{n} #{pluralENs n "person"}, since there w MppOpening: Opening MppClosing: Closing MppDate: Date -MppURL: Link Examination +MppURL: Link e-learning MppLogin: Login MppPin: Pin MppRecipient: Recipient diff --git a/templates/mail/qualificationRenewal.hamlet b/templates/mail/qualificationRenewal.hamlet index 0de1f400d..a2455c51b 100644 --- a/templates/mail/qualificationRenewal.hamlet +++ b/templates/mail/qualificationRenewal.hamlet @@ -28,7 +28,9 @@ $newline never
#{expiryDate}

- _{SomeMessage MsgLmsRenewalInstructions} + _{SomeMessage MsgLmsRenewalInstructions} # + + _{SomeMessage MsgMppURL} #{lmsUrl} ^{ihamletSomeMessage editNotifications}