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 | |
| 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')
| -rw-r--r-- | app/views/admin/user/_results.php | 2 | ||||
| -rw-r--r-- | app/views/admin/user/activities.php | 2 | ||||
| -rw-r--r-- | app/views/admin/user/edit.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/user/_results.php b/app/views/admin/user/_results.php index 13e5c68..292a70b 100644 --- a/app/views/admin/user/_results.php +++ b/app/views/admin/user/_results.php @@ -63,7 +63,7 @@ <?= htmlReady($user->username) ?> </a> <? if ($user->locked) : ?> - <?= Icon::create('lock-locked', Icon::ROLE_INFO)->asSvg(tooltip2(sprintf(_('%s ist gesperrt'), htmlReady($user->getFullName())))) ?> + <?= Icon::create('lock-locked', Icon::ROLE_INFO)->asImg(tooltip2(sprintf(_('%s ist gesperrt'), htmlReady($user->getFullName())))) ?> <? endif ?> </td> <td> diff --git a/app/views/admin/user/activities.php b/app/views/admin/user/activities.php index fce928f..0357b86 100644 --- a/app/views/admin/user/activities.php +++ b/app/views/admin/user/activities.php @@ -32,7 +32,7 @@ <? if (!empty($query['details'])) : ?> <a href="<?= $controller->url_for('admin/user/activities/' . $user['user_id'], ['view' => $query['details']] + $params) ?>" <?= Request::isXhr() ? 'data-dialog="size=50%"' : ''?>> - <?= Icon::create('info-circle')->asSvg(['title' => _('Übersicht anzeigen')]) ?> + <?= Icon::create('info-circle')->asImg(['title' => _('Übersicht anzeigen')]) ?> </a> <? endif ?> </td> 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'), ]) ?> |
