From 11fdcf0d445b8cfe97c3a3c26513a9229937c536 Mon Sep 17 00:00:00 2001 From: Steffen Date: Mon, 29 Jul 2024 14:58:19 +0200 Subject: [PATCH] fix(lms): max e-learning tries default removed and info added to lms overview --- models/lms.model | 2 +- templates/i18n/lms-all/de-de-formal.hamlet | 9 +++++++++ templates/i18n/lms-all/en-eu.hamlet | 8 ++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/models/lms.model b/models/lms.model index 0d4b1e49d..9a7712c29 100644 --- a/models/lms.model +++ b/models/lms.model @@ -14,7 +14,7 @@ Qualification refreshReminder CalendarDiffDays Maybe -- send a second notification about renewal within this number of month/days before expiry elearningStart Bool -- automatically schedule e-refresher elearningRenews Bool default=true -- successful e-learing automatically increases validity automatically by validDuration - elearningLimit Int Maybe defualt=5 -- limit of e-learning attempts, currently only for informative purposes, as it is enforced by LMS only + elearningLimit Int Maybe -- limit of e-learning attempts, currently only for informative purposes, as it is enforced by LMS only lmsReuses QualificationId Maybe -- if set, lms is also included within the given qualification's lms, but only for direct routes. AuditDuration is used from this Qualification instead. expiryNotification Bool default=true -- should expiryNotification be generated for this qualification? avsLicence AvsLicence Maybe -- if set, valid QualificationUsers are synchronized to AVS as a driving licence diff --git a/templates/i18n/lms-all/de-de-formal.hamlet b/templates/i18n/lms-all/de-de-formal.hamlet index c93ddfb58..08f2088ed 100644 --- a/templates/i18n/lms-all/de-de-formal.hamlet +++ b/templates/i18n/lms-all/de-de-formal.hamlet @@ -7,6 +7,15 @@ $# SPDX-License-Identifier: AGPL-3.0-or-later
^{lmsTable} +

+ Hinweis: # + Es muss anderweitig sichergestellt werden, dass die hier lediglich angezeigte maximale Anzahl # + an E‑Learning Prüfungsversuchen mit der im externen LMS eingestellten Zahl übereinstimmt! # + Die Begrenzung der Prüfungsversuche wird ausschließlich durch das externe LMS kontrolliert, # + an FRADrive wird weder die Anzahl der möglichen noch der erfolgten Versuche übermittelt. # + Die hier eingestellte Zahl dient ausschließlich zur Information der Lizenzinhaber per Brief oder E‑Mail. + + $maybe btnForm <- mbBtnForm

diff --git a/templates/i18n/lms-all/en-eu.hamlet b/templates/i18n/lms-all/en-eu.hamlet index 69aa8df82..2c4fa87a0 100644 --- a/templates/i18n/lms-all/en-eu.hamlet +++ b/templates/i18n/lms-all/en-eu.hamlet @@ -7,6 +7,14 @@ $# SPDX-License-Identifier: AGPL-3.0-or-later
^{lmsTable} +

+ Note: # + It must be ensured that the maximum number of e‑learning exam attempts # + configured in the external LMS agrees with the number displayed here for the corresponding qualification. # + The maximum number of attempts is a setting of the external LMS only, which is never transmitted to FRADrive. # + The number shown is only used in the communication to licences holders via letter or Email. + + $maybe btnForm <- mbBtnForm