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/admin/user/edit.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/admin/user/edit.php')
| -rw-r--r-- | app/views/admin/user/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/user/edit.php b/app/views/admin/user/edit.php index 39d31cf..825949f 100644 --- a/app/views/admin/user/edit.php +++ b/app/views/admin/user/edit.php @@ -266,7 +266,7 @@ use Studip\Button, Studip\LinkButton; </label> <label class="col-2"> - <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asSvg([ + <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg([ 'id' => 'pw_success', 'style' => 'display: none', ]) ?> @@ -577,7 +577,7 @@ use Studip\Button, Studip\LinkButton; <? if ($GLOBALS['perm']->have_studip_perm('admin', $inst_membership->institut_id)) : ?> <a data-dialog="size=auto" href="<?= $controller->url_for('admin/user/edit_institute/' . $user->user_id . '/' . $inst_membership->institut_id) ?>"> - <?= Icon::create('edit')->asSvg([ + <?= Icon::create('edit')->asImg([ 'class' => 'text-bottom', 'title' => _('Diese Einrichtung bearbeiten'), ]) ?> |
