aboutsummaryrefslogtreecommitdiff
path: root/app/views/vips/sheets/edit_exercise.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-09 09:18:53 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-09 09:18:53 +0100
commit08da9f257ff4efc98dd058e81984ac9bd6e46639 (patch)
tree5e397bb3771fa096b30d435a12bc6ab8687751b2 /app/views/vips/sheets/edit_exercise.php
parentef89c567131c55840192820ed7510497d970f36d (diff)
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330 Merge request studip/studip!4802
Diffstat (limited to 'app/views/vips/sheets/edit_exercise.php')
-rw-r--r--app/views/vips/sheets/edit_exercise.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/vips/sheets/edit_exercise.php b/app/views/vips/sheets/edit_exercise.php
index 41156e1..2650691 100644
--- a/app/views/vips/sheets/edit_exercise.php
+++ b/app/views/vips/sheets/edit_exercise.php
@@ -75,7 +75,7 @@
<td>
<input type="hidden" name="file_ids[]" value="<?= $file_ref->id ?>">
<a href="<?= htmlReady($file_ref->getDownloadURL()) ?>" <?= $file_ref->getContentDisposition() === 'inline' ? 'target="_blank"' : '' ?>>
- <?= Icon::create('file')->asSvg(['title' => _('Datei herunterladen')]) ?>
+ <?= Icon::create('file')->asImg(['title' => _('Datei herunterladen')]) ?>
<?= htmlReady($file_ref->name) ?>
</a>
</td>
@@ -122,8 +122,8 @@
<input id="options-toggle" class="options-toggle" type="checkbox" value="on">
<a class="caption" href="#" role="button" data-toggles="#options-toggle" aria-controls="options-panel" aria-expanded="false">
- <?= Icon::create('arr_1down')->asSvg(['class' => 'toggle-open']) ?>
- <?= Icon::create('arr_1right')->asSvg(['class' => 'toggle-closed']) ?>
+ <?= Icon::create('arr_1down')->asImg(['class' => 'toggle-open']) ?>
+ <?= Icon::create('arr_1right')->asImg(['class' => 'toggle-closed']) ?>
<?= _('Weitere Einstellungen') ?>
</a>