diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-09 09:18:53 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-09 09:18:53 +0100 |
| commit | 08da9f257ff4efc98dd058e81984ac9bd6e46639 (patch) | |
| tree | 5e397bb3771fa096b30d435a12bc6ab8687751b2 /app/views/vips/exercises/TextLineTask/correct.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/vips/exercises/TextLineTask/correct.php')
| -rw-r--r-- | app/views/vips/exercises/TextLineTask/correct.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/vips/exercises/TextLineTask/correct.php b/app/views/vips/exercises/TextLineTask/correct.php index 3457f2e..c87d531 100644 --- a/app/views/vips/exercises/TextLineTask/correct.php +++ b/app/views/vips/exercises/TextLineTask/correct.php @@ -16,13 +16,13 @@ <?= htmlReady($response[0]) ?> <? if ($results[0]['points'] == 1): ?> - <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['title' => _('richtig')]) ?> + <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['title' => _('richtig')]) ?> <? elseif ($results[0]['points'] == 0.5): ?> - <?= Icon::create('decline', Icon::ROLE_STATUS_YELLOW)->asSvg(['title' => _('fast richtig')]) ?> + <?= Icon::create('decline', Icon::ROLE_STATUS_YELLOW)->asImg(['title' => _('fast richtig')]) ?> <? elseif (!$edit_solution || $results[0]['safe']): ?> - <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['title' => _('falsch')]) ?> + <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['title' => _('falsch')]) ?> <? else: ?> - <?= Icon::create('question', Icon::ROLE_STATUS_RED)->asSvg(['title' => _('Unbekannte Antwort')]) ?> + <?= Icon::create('question', Icon::ROLE_STATUS_RED)->asImg(['title' => _('Unbekannte Antwort')]) ?> <? endif ?> <? endif ?> |
