Skip to content

Commit 49f13fb

Browse files
committed
Test: Fix Displacement of Info Message
See: https://mantis.ilias.de/view.php?id=46845
1 parent 17bdf39 commit 49f13fb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/ILIAS/Test/classes/class.ilObjTestGUI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,9 +1910,9 @@ private function setupToolBarAndMessage(bool $has_started_test_runs): void
19101910

19111911
$message = $this->lng->txt('test_has_datasets_warning_page_view');
19121912
$massage_box = $this->ui_factory->messageBox()->info($message)->withLinks([$link]);
1913-
$this->tpl->setCurrentBlock('mess');
1913+
$this->tpl->setCurrentBlock('pax_info_message');
19141914
$this->tpl->setVariable(
1915-
'MESSAGE',
1915+
'PAX_INFO_MESSAGE',
19161916
$this->ui_renderer->render($massage_box)
19171917
);
19181918
$this->tpl->parseCurrentBlock();

components/ILIAS/Test/templates/default/tpl.il_as_tst_questions.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<!-- BEGIN pax_info_message -->
2+
{PAX_INFO_MESSAGE}
3+
<!-- END pax_info_message -->
14
<form name="form_questions" method="POST" action="{ACTION_QUESTION_FORM}">
25
<!-- BEGIN move -->
36
<input type="hidden" name="move_{MOVE_COUNTER}" value="{MOVE_VALUE}">

0 commit comments

Comments
 (0)