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/calendar/contentbox/_termin.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/calendar/contentbox/_termin.php')
| -rw-r--r-- | app/views/calendar/contentbox/_termin.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/calendar/contentbox/_termin.php b/app/views/calendar/contentbox/_termin.php index 39e1455..283dda7 100644 --- a/app/views/calendar/contentbox/_termin.php +++ b/app/views/calendar/contentbox/_termin.php @@ -11,7 +11,7 @@ <header> <h1> <a href="<?= ContentBoxHelper::href($termin->getObjectId()) ?>"> - <?= Icon::create('date', Icon::ROLE_INACTIVE)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('date', Icon::ROLE_INACTIVE)->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($titles[$termin->getObjectId()] ?? $termin->getTitle()) ?> </a> </h1> @@ -26,19 +26,19 @@ <? if ($admin && $isProfile && $termin->getObjectClass() === 'CalendarDateAssignment') : ?> <a href="<?= URLHelper::getLink('dispatch.php/calendar/calendar') ?>" title="<?= _('Zum Kalender') ?>" aria-label="<?= _('Zum Kalender') ?>"> - <?= Icon::create('schedule')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('schedule')->asImg(['class' => 'text-bottom']) ?> </a> <? if ($termin->calendar_date->isWritable($GLOBALS['user']->id)) : ?> <a href="<?= URLHelper::getLink('dispatch.php/calendar/date/edit/' . $termin->getPrimaryObjectId()) ?>" title="<?= _('Termin bearbeiten') ?>" aria-label="<?= _('Termin bearbeiten') ?>" data-dialog> - <?= Icon::create('edit')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('edit')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?> <? elseif (!$course_range && in_array($termin->getObjectClass(), [CalendarCourseDate::class, CalendarCourseExDate::class])) : ?> <a href="<?= URLHelper::getLink('dispatch.php/course/dates', ['cid' => $termin->getPrimaryObjectId()]) ?>" title="<?= _('Zur Veranstaltung') ?>" aria-label="<?= _('Zur Veranstaltung') ?>"> - <?= Icon::create('seminar')->asSvg(['class'=> 'text-bottom']) ?> + <?= Icon::create('seminar')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?> </nav> @@ -63,7 +63,7 @@ <? if (count($themen)) : ?> <? foreach ($themen as $thema) : ?> <h3> - <?= Icon::create('topic', Icon::ROLE_INFO)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('topic', Icon::ROLE_INFO)->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($thema['title']) ?> </h3> <div> @@ -91,7 +91,7 @@ <? if (!$course_range && in_array($termin->getObjectClass(), [CalendarCourseDate::class, CalendarCourseExDate::class])) : ?> <div> <a href="<?= URLHelper::getLink('dispatch.php/course/dates', ['cid' => $termin->getPrimaryObjectId()]) ?>"> - <?= Icon::create('link-intern')->asSvg(['class'=> 'text-bottom']) ?> + <?= Icon::create('link-intern')->asImg(['class' => 'text-bottom']) ?> <?= _('Zur Veranstaltung') ?> </a> </div> |
