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/start/_widget.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/start/_widget.php')
| -rw-r--r-- | app/views/start/_widget.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/start/_widget.php b/app/views/start/_widget.php index 2117877..aa68bdc 100644 --- a/app/views/start/_widget.php +++ b/app/views/start/_widget.php @@ -20,7 +20,7 @@ <?= $key ?>="<?= htmlReady($value) ?>" <? endif ?> <? endforeach ?>> - <?= $nav->getImage()->asSvg() ?> + <?= $nav->getImage()->asImg() ?> </a> <? endif ?> <?endforeach ?> @@ -28,12 +28,12 @@ <? if (isset($admin_url)): ?> <a href="<?= URLHelper::getLink($admin_url) ?>"> - <?= Icon::create('admin', Icon::ROLE_CLICKABLE, ['title' => $admin_title])->asSvg() ?> + <?= Icon::create('admin', Icon::ROLE_CLICKABLE, ['title' => $admin_title])->asImg() ?> </a> <? endif ?> <a href="<?= $controller->url_for('start/delete/' . $widget->getPluginId()) ?>"> - <?= Icon::create('decline', Icon::ROLE_CLICKABLE, ['title' => _('Entfernen')])->asSvg() ?> + <?= Icon::create('decline', Icon::ROLE_CLICKABLE, ['title' => _('Entfernen')])->asImg() ?> </a> </span> <span id="widgetName<?= $widget->getPluginId() ?>" class="widget-title"> |
