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/materialien/files/index.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/materialien/files/index.php')
| -rw-r--r-- | app/views/materialien/files/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/materialien/files/index.php b/app/views/materialien/files/index.php index 60f713f..ae26c71 100644 --- a/app/views/materialien/files/index.php +++ b/app/views/materialien/files/index.php @@ -31,7 +31,7 @@ <td class="dont-hide"> <? if ($mvv_file->getFiletypes()[0] === 'Link'): ?> <a href="<?= htmlReady($mvv_file->file_refs[0]->file_ref->file->metadata['url']); ?>" target="_blank"> - <?= Icon::create('link-extern')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('link-extern')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($mvv_file->getFilenames()[0]); ?> </a> <? else: ?> @@ -42,7 +42,7 @@ <?= Icon::create( $mvv_file->extern_visible?'visibility-visible':'visibility-invisible', Icon::ROLE_INFO - )->asSvg([ + )->asImg([ 'class' => 'text-bottom', 'title' => $mvv_file->extern_visible ? _('Sichtbar') : _('Unsichtbar') ]) ?> |
