Skip to content
Snippets Groups Projects
Commit d532c340 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix icons, fixes #2264

Closes #2264

Merge request studip/studip!1561
parent 8022cced
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ $response = $vote->getMyAnswer();
$responseData = isset($response->answerdata['answers']) ? $response->answerdata['answers']->getArrayCopy() : [];
?>
<div <?= isset($vote->questiondata['mandatory']) && $vote->questiondata['mandatory'] ? ' class="mandatory"' : "" ?>>
<?= $this->render_partial('questionnaire/_answer_description_container', ['vote' => $vote, 'iconshape' => 'likert']) ?>
<?= $this->render_partial('questionnaire/_answer_description_container', ['vote' => $vote, 'iconshape' => 'question-likert']) ?>
<div class="hidden invalidation_notice">
<?= _("Diese Frage muss beantwortet werden.") ?>
......
......@@ -9,7 +9,7 @@ $options = $vote->questiondata['options'];
<div class="description_container">
<div class="icon_container">
<?= Icon::create('rangescale', Icon::ROLE_INFO)->asImg(20) ?>
<?= Icon::create('question-likert', Icon::ROLE_INFO)->asImg(20) ?>
</div>
<div class="description">
<?= formatReady(isset($vote->questiondata) && isset($vote->questiondata['description']) ? $vote->questiondata['description'] : '') ?>
......
......@@ -14,7 +14,7 @@ $response = $vote->getMyAnswer();
$responseData = $response['answerdata'] && $response['answerdata']['answers'] ? $response['answerdata']['answers']->getArrayCopy() : [];
?>
<div <?= isset($vote->questiondata['mandatory']) && $vote->questiondata['mandatory'] ? ' class="mandatory"' : "" ?>>
<?= $this->render_partial('questionnaire/_answer_description_container', ['vote' => $vote, 'iconshape' => 'rangescale']) ?>
<?= $this->render_partial('questionnaire/_answer_description_container', ['vote' => $vote, 'iconshape' => 'question-rangescale']) ?>
<div class="hidden invalidation_notice">
<?= _("Diese Frage muss beantwortet werden.") ?>
......
......@@ -9,7 +9,7 @@ $options = range($vote->questiondata['minimum'], $vote->questiondata['maximum'])
<div class="description_container">
<div class="icon_container">
<?= Icon::create('rangescale', Icon::ROLE_INFO)->asImg(20) ?>
<?= Icon::create('question-rangescale', Icon::ROLE_INFO)->asImg(20) ?>
</div>
<div class="description">
<?= formatReady($vote->questiondata['description']) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment