From bea4c025c081ae989202574dbee4bbc86a4269a7 Mon Sep 17 00:00:00 2001 From: jcopado Date: Wed, 25 Oct 2023 23:04:25 +0200 Subject: [PATCH] Revert Icon Change - Change Title to Pool/Test title --- .../TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php b/Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php index ba4fc4eddcf9..81a8f40e9f5e 100755 --- a/Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php +++ b/Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php @@ -1387,9 +1387,9 @@ public function setTitleAndDescription(): void if (!$title) { $title = $this->lng->txt('new') . ': ' . $this->questioninfo->getQuestionType($q_gui->object->getId()); } - $this->tpl->setTitle($title); + $this->tpl->setTitle($this->object->getTitle()); $this->tpl->setDescription($q_gui->object->getComment()); - $this->tpl->setTitleIcon('templates/default/images/standard/icon_ques.svg'); + $this->tpl->setTitleIcon(ilObject2::_getIcon($this->object->getId(), 'big', $this->object->getType())); } else { // Workaround for context issues: If no object was found, redirect without q_id parameter $this->ctrl->setParameter($this, 'q_id', '');