aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/specification/index.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:25:41 +0100
commit343a471f165dfef235e056caec1955fd9ee423cb (patch)
treec2f865dcbc25695a581e4d655ea2b30a0edc3e1f /app/views/admin/specification/index.php
parent6a14782858a297ead2f509652ce914d8aefb5531 (diff)
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330 Merge request studip/studip!4802
Diffstat (limited to 'app/views/admin/specification/index.php')
-rw-r--r--app/views/admin/specification/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/specification/index.php b/app/views/admin/specification/index.php
index 9933cce..4538b6a 100644
--- a/app/views/admin/specification/index.php
+++ b/app/views/admin/specification/index.php
@@ -43,10 +43,10 @@
</td>
<td class="actions">
<a href="<?= $controller->edit($rule) ?>">
- <?= Icon::create('edit')->asSvg(['title' => _('Regel bearbeiten')]) ?>
+ <?= Icon::create('edit')->asImg(['title' => _('Regel bearbeiten')]) ?>
</a>
<? if (count($rule->courses) > 0): ?>
- <?= Icon::create('trash', Icon::ROLE_INACTIVE)->asSvg(
+ <?= Icon::create('trash', Icon::ROLE_INACTIVE)->asImg(
tooltip2(_('Die Regel kann nicht gelöscht werden, da sie noch verwendet wird.'))
) ?>
<? else: ?>