Skip to content

Commit

Permalink
Merge pull request #4081 from nhaagen/7/TA/32078
Browse files Browse the repository at this point in the history
TA: 32078, use calculated image path for marked questions in list
  • Loading branch information
mbecker-databay authored Mar 2, 2022
2 parents c252abe + 702967c commit 266f74e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Modules/Test/classes/tables/class.ilListOfQuestionsTableGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,15 @@ public function fillRow($data)
if ($this->isShowMarkerEnabled()) {
if ($data['marked']) {
$this->tpl->setCurrentBlock('marked_img');
$this->tpl->setVariable("HREF_MARKED", ilUtil::img('./templates/default/images/marked.svg', $this->lng->txt("tst_question_marked"), '24px', '24px'));
$this->tpl->setVariable(
"HREF_MARKED",
ilUtil::img(
ilUtil::getImagePath('marked.svg'),
$this->lng->txt("tst_question_marked"),
'24px',
'24px'
)
);
$this->tpl->parseCurrentBlock();
} else {
$this->tpl->touchBlock('marker');
Expand Down

0 comments on commit 266f74e

Please sign in to comment.