uncomment null check, layout of hint

This commit is contained in:
Harald Bamberger
2024-07-11 17:35:18 +02:00
parent 46ea054bac
commit 3f84024ce8
2 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -5198,7 +5198,7 @@ function StudentPruefungTypChange()
{
var typ = document.getElementById('student-pruefung-menulist-typ').value;
var hinweisid = document.getElementById('student-pruefung-textbox-datum-hinweis');
//if(hinweisid === NULL) return;
if(hinweisid === null) return;
hinweisid.hidden = (typ != 'kommPruef' && typ != 'zusKommPruef');
}
@@ -258,15 +258,12 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</hbox>
</row>
<?php if($show_komm_prfg_hint) { ?>
<row id="student-pruefung-textbox-datum-hinweis" hidden="true">
<row id="student-pruefung-textbox-datum-hinweis" hidden="true" maxwidth="700">
<label></label>
<hbox style="font-size: 75%;">
<image style="width: 20px; margin: 15px 5px 15px 10px;" class="message-icon"/>
<vbox>
<description class="small-margin">Bitte bei der Neuanlage das Datum der Noteneintragung (i. d. R. heute) eintragen, </description>
<description class="small-margin">um einen korrekten Fristenablauf der Wiederholung zu ermöglichen. </description>
<description class="small-margin">Das Datum der Prüfung bitte im Anmerkungsfeld vermerken.</description>
</vbox>
<hbox maxwidth="600" align="center">
<image width="20" class="message-icon"/>
<description flex="1" maxwidth="200" style="font-size: 70%;">Bitte bei der Neuanlage das Datum der Noteneintragung (i. d. R. heute) eintragen, um den korrekten Fristenablauf der Wiederholung zu ermöglichen. Das Datum der Prüfung bitte im Anmerkungsfeld vermerken.</description>
<spacer flex="1" />
</hbox>
</row>
<?php } ?>