Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenOlat
Certibot
Commits
ee102fc6
Verified
Commit
ee102fc6
authored
Jun 25, 2021
by
Raphael Fetzer
👷
Browse files
Maximalpunkte anzeigen können
parent
c901ee90
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/zertifikat.js
View file @
ee102fc6
...
...
@@ -221,19 +221,15 @@ function BuildZIP() {
// Punkte
zertifikat
+=
"
\n\n\
<p>
"
;
if
(
document
.
getElementById
(
"
punkte
"
).
checked
){
zertifikat
+=
"
mit einer Gesamtpunktzahl von <strong>$score</strong> Punkten
"
;
}
zertifikat
+=
"
erfolgreich teilgenommen hat.</p>
"
;
// Lernziele
if
(
document
.
getElementById
(
"
lernziele
"
).
checked
){
zertifikat
+=
"
\n\n\
<p>Dabei hat $fullName die folgenden Lernziele erreicht:</p>
\n\
<div class=
\"
left
\"
>
\n\
<p>$objectives</p>
\n\
</div>
"
;
if
(
document
.
getElementById
(
"
score
"
).
checked
){
zertifikat
+=
"
erfolgreich mit insgesamt <strong>$score</strong>
"
;
// Maximalpunkte
if
(
document
.
getElementById
(
"
maxscore
"
).
checked
){
zertifikat
+=
"
von maximal <strong>$maxScore</strong> erreichbaren
"
;
}
zertifikat
+=
"
Punkten
"
;
}
zertifikat
+=
"
teilgenommen hat.</p>
"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment