diff options
Diffstat (limited to 'app/views/resources')
| -rw-r--r-- | app/views/resources/_common/_resource_tr.php | 2 | ||||
| -rw-r--r-- | app/views/resources/admin/properties.php | 2 | ||||
| -rw-r--r-- | app/views/resources/admin/user_permissions.php | 10 | ||||
| -rw-r--r-- | app/views/resources/booking/_add_edit_form.php | 12 | ||||
| -rw-r--r-- | app/views/resources/booking/index.php | 4 | ||||
| -rw-r--r-- | app/views/resources/building/index.php | 4 | ||||
| -rw-r--r-- | app/views/resources/category/_add_edit_form.php | 2 | ||||
| -rw-r--r-- | app/views/resources/category/details.php | 2 | ||||
| -rw-r--r-- | app/views/resources/location/index.php | 2 | ||||
| -rw-r--r-- | app/views/resources/messages/index.php | 4 | ||||
| -rw-r--r-- | app/views/resources/resource/_standard_properties_display_part.php | 4 | ||||
| -rw-r--r-- | app/views/resources/resource/files.php | 2 | ||||
| -rw-r--r-- | app/views/resources/room_request/overview.php | 2 | ||||
| -rw-r--r-- | app/views/resources/room_request/resolve.php | 2 | ||||
| -rw-r--r-- | app/views/resources/room_request/resolve_room_tr.php | 16 |
15 files changed, 35 insertions, 35 deletions
diff --git a/app/views/resources/_common/_resource_tr.php b/app/views/resources/_common/_resource_tr.php index bf52a0f..9b69f04 100644 --- a/app/views/resources/_common/_resource_tr.php +++ b/app/views/resources/_common/_resource_tr.php @@ -112,7 +112,7 @@ </span> <? else: ?> <?= htmlReady($resource->name) ?> - <?= Icon::create('link-intern')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('link-intern')->asImg(['class' => 'text-bottom']) ?> <? endif ?> </a> <? if (!empty($resource_tooltip)): ?> diff --git a/app/views/resources/admin/properties.php b/app/views/resources/admin/properties.php index 438ddff..072817b 100644 --- a/app/views/resources/admin/properties.php +++ b/app/views/resources/admin/properties.php @@ -37,7 +37,7 @@ <?= CSRFProtection::tokenTag() ?> <a href="<?=$controller->url_for('resources/property/edit/' . $property->id)?>" data-dialog="size=auto"> - <?= Icon::create('edit')->asSvg( + <?= Icon::create('edit')->asImg( [ 'title' => _('Bearbeiten') ] diff --git a/app/views/resources/admin/user_permissions.php b/app/views/resources/admin/user_permissions.php index 48f7fa5..5dedeb9 100644 --- a/app/views/resources/admin/user_permissions.php +++ b/app/views/resources/admin/user_permissions.php @@ -125,7 +125,7 @@ 'user_id' => $permission->user_id ] ) ?>" data-dialog> - <?= Icon::create('edit')->asSvg( + <?= Icon::create('edit')->asImg( '20px', [ 'class' => 'text-bottom', @@ -139,7 +139,7 @@ . '/' . $permission->resource_id ) ?>" data-dialog> - <?= Icon::create('log')->asSvg( + <?= Icon::create('log')->asImg( [ 'class' => 'text-bottom', 'title' => 'Liste mit Buchungen anzeigen' @@ -222,7 +222,7 @@ 'user_id' => $permission->user_id ] ) ?>" data-dialog> - <?= Icon::create('edit')->asSvg( + <?= Icon::create('edit')->asImg( [ 'class' => 'text-bottom', 'title' => _('Berechtigung bearbeiten') @@ -235,7 +235,7 @@ . '/' . $permission->resource_id ) ?>" data-dialog> - <?= Icon::create('log')->asSvg( + <?= Icon::create('log')->asImg( [ 'class' => 'text-bottom', 'title' => _('Liste mit Buchungen anzeigen') @@ -300,7 +300,7 @@ ['user_id' => $user->id] ) ?>"> <?= htmlReady($user->getFullName('full_rev')) ?> - <?= Icon::create('link-intern')->asSvg( + <?= Icon::create('link-intern')->asImg( [ 'class' => 'text-bottom' ] diff --git a/app/views/resources/booking/_add_edit_form.php b/app/views/resources/booking/_add_edit_form.php index 97f08f8..7c328b8 100644 --- a/app/views/resources/booking/_add_edit_form.php +++ b/app/views/resources/booking/_add_edit_form.php @@ -455,7 +455,7 @@ 'messages/write', ['rec_uname' => $booking->assigned_user->username] ) ?>" data-dialog="size=auto"> - <?= Icon::create('mail')->asSvg( + <?= Icon::create('mail')->asImg( '20px', ['class' => 'text-bottom'] ) ?> @@ -467,7 +467,7 @@ <?= _('Eine andere nutzende Person auswählen') ?> <div class="assigned-user-search-wrapper"> <?= $assigned_user_search->render() ?> - <?= Icon::create('refresh')->asSvg( + <?= Icon::create('refresh')->asImg( '20px', ['class' => 'delete-assigned-user-icon'] ) ?> </div> @@ -477,7 +477,7 @@ <?= _('Die nutzende Person zur Buchung') ?> <div class="assigned-user-search-wrapper"> <?= $assigned_user_search->render() ?> - <?= Icon::create('refresh')->asSvg( + <?= Icon::create('refresh')->asImg( '20px', ['class' => 'delete-assigned-user-icon'] ) ?> </div> @@ -498,7 +498,7 @@ 'messages/write', ['rec_uname' => $booking->booking_user->username] ) ?>" data-dialog="size=auto"> - <?= Icon::create('mail')->asSvg( + <?= Icon::create('mail')->asImg( '20px', ['class' => 'text-bottom'] ) ?> @@ -582,7 +582,7 @@ <td class="booking-list-interval-actions"> <button class="takes-place-delete takes-place-status-toggle <?= $interval->takes_place ? '' : ' invisible'; ?>" data-interval_id="<?= htmlReady($interval->id) ?>"> - <?= Icon::create('trash')->asSvg( + <?= Icon::create('trash')->asImg( [ 'class' => 'text-bottom', 'title' => _('Löschen') @@ -592,7 +592,7 @@ <button class="takes-place-revive takes-place-status-toggle <?= $interval->takes_place ? ' invisible' : ''; ?>" data-interval_id="<?= htmlReady($interval->id) ?>"> - <?= Icon::create('refresh')->asSvg( + <?= Icon::create('refresh')->asImg( [ 'class' => 'text-bottom', 'title' => _('Wiederherstellen') diff --git a/app/views/resources/booking/index.php b/app/views/resources/booking/index.php index 3a98bb2..d339408 100644 --- a/app/views/resources/booking/index.php +++ b/app/views/resources/booking/index.php @@ -85,7 +85,7 @@ 'dispatch.php/messages/write', ['rec_uname' => $booking->booking_user->username] ) ?>" data-dialog="size=auto"> - <?= Icon::create('mail')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('mail')->asImg(['class' => 'text-bottom']) ?> </a> <? else :?> <?= _('unbekannt') ?> @@ -133,7 +133,7 @@ 'dispatch.php/messages/write', ['rec_uname' => $booking->assigned_user->username] ) ?>" data-dialog="size=auto"> - <?= Icon::create('mail')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('mail')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?> <? else : ?> diff --git a/app/views/resources/building/index.php b/app/views/resources/building/index.php index cfd874c..69ff6a8 100644 --- a/app/views/resources/building/index.php +++ b/app/views/resources/building/index.php @@ -101,7 +101,7 @@ <li> <a href="<?= $controller->link_for('resources/room/index/' . $child->id); ?>" <?= (Request::isDialog()) ? 'data-dialog' : ''; ?>> - <?= $child->getIcon('clickable')->asSvg( + <?= $child->getIcon('clickable')->asImg( ['class' => 'text-bottom'] ) ?> <?= htmlReady($child->name); ?> @@ -111,4 +111,4 @@ </ul> </section> </section> -<? endif ?>
\ No newline at end of file +<? endif ?> diff --git a/app/views/resources/category/_add_edit_form.php b/app/views/resources/category/_add_edit_form.php index a0a9571..148107a 100644 --- a/app/views/resources/category/_add_edit_form.php +++ b/app/views/resources/category/_add_edit_form.php @@ -143,7 +143,7 @@ </option> <? endforeach ?> </select> - <?= Icon::create('add')->asSvg(['class' => 'add-action']) ?> + <?= Icon::create('add')->asImg(['class' => 'add-action']) ?> </td> </tr> </tfoot> diff --git a/app/views/resources/category/details.php b/app/views/resources/category/details.php index edb9a4d..59eea31 100644 --- a/app/views/resources/category/details.php +++ b/app/views/resources/category/details.php @@ -18,7 +18,7 @@ <ul class="list-unstyled"> <? foreach ($category->property_definitions as $definition): ?> <li> - <?= Icon::create('checkbox-checked')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('checkbox-checked')->asImg(['class' => 'text-bottom']) ?> <? if ($definition->system): ?> <strong><?= htmlReady($definition) ?></strong> <? else: ?> diff --git a/app/views/resources/location/index.php b/app/views/resources/location/index.php index 8e6ef8c..162bfcd 100644 --- a/app/views/resources/location/index.php +++ b/app/views/resources/location/index.php @@ -75,7 +75,7 @@ <li> <a href="<?= $controller->link_for('resources/building/index/' . $child->id); ?>" <?= (Request::isDialog()) ? 'data-dialog' : ''; ?>> - <?= $child->getIcon('clickable')->asSvg( + <?= $child->getIcon('clickable')->asImg( ['class' => 'text-bottom'] ) ?> <?= htmlReady($child->name); ?> diff --git a/app/views/resources/messages/index.php b/app/views/resources/messages/index.php index 15f233e..72a50bf 100644 --- a/app/views/resources/messages/index.php +++ b/app/views/resources/messages/index.php @@ -23,7 +23,7 @@ <span class="selected-room template invisible"> <input type="hidden" name="room_ids[]"> <span></span> - <?= Icon::create('trash')->asSvg( + <?= Icon::create('trash')->asImg( [ 'class' => 'remove-icon text-bottom' ] @@ -35,7 +35,7 @@ <input type="hidden" name="room_ids[]" value="<?= htmlReady($room->id) ?>"> <span><?= htmlReady($room->name) ?></span> - <?= Icon::create('trash')->asSvg( + <?= Icon::create('trash')->asImg( [ 'class' => 'remove-icon text-bottom' ] diff --git a/app/views/resources/resource/_standard_properties_display_part.php b/app/views/resources/resource/_standard_properties_display_part.php index cc33af3..ada4f80 100644 --- a/app/views/resources/resource/_standard_properties_display_part.php +++ b/app/views/resources/resource/_standard_properties_display_part.php @@ -58,7 +58,7 @@ 'messages/write', ['rec_uname' => $user->username] ) ?>" data-dialog> - <?= Icon::create('mail')->asSvg( + <?= Icon::create('mail')->asImg( ['class' => 'text-bottom'] ) ?> </a> @@ -69,7 +69,7 @@ <a href="<?= htmlReady($property->state) ?>" target="_blank"> <?= htmlReady($property->state) ?> - <?= Icon::create('link-extern')->asSvg( + <?= Icon::create('link-extern')->asImg( ['class' => 'text-bottom'] ) ?> </a> diff --git a/app/views/resources/resource/files.php b/app/views/resources/resource/files.php index f78dfe8..fc46b92 100644 --- a/app/views/resources/resource/files.php +++ b/app/views/resources/resource/files.php @@ -6,7 +6,7 @@ <caption> <a href="<?= $controller->url_for('resources/resource/files/' . $resource->id)?>" title="<?= _('Zum Hauptordner') ?>"> - <?= Icon::create('folder-home-full', 'clickable')->asSvg(30, ['class' => 'text-bottom']) ?> + <?= Icon::create('folder-home-full', 'clickable')->asImg(30, ['class' => 'text-bottom']) ?> </a> <?= htmlReady($resource->getFullName()) ?></caption> <?= $this->render_partial('files/_files_thead') ?> diff --git a/app/views/resources/room_request/overview.php b/app/views/resources/room_request/overview.php index 9e2d787..ecb664d 100644 --- a/app/views/resources/room_request/overview.php +++ b/app/views/resources/room_request/overview.php @@ -37,7 +37,7 @@ <th <? if ($sort_var === 1) printf('class="sort%s"', $sort_order) ?>> <? $sortorder = $sort_var !== 1 ? 'desc' : ($sort_order === 'asc' ? 'desc' : 'asc') ?> <a href="<?= URLHelper::getLink(sprintf('?sorting=1&sort_order=%s', $sortorder)) ?>"> - <?= Icon::create('radiobutton-checked')->asSvg( + <?= Icon::create('radiobutton-checked')->asImg( [ 'title' => _('Markierung') ] diff --git a/app/views/resources/room_request/resolve.php b/app/views/resources/room_request/resolve.php index 9d4aab8..e9ba7d6 100644 --- a/app/views/resources/room_request/resolve.php +++ b/app/views/resources/room_request/resolve.php @@ -42,7 +42,7 @@ ) ?>" target="_blank" title="<?= _('Belegungsplan anzeigen') ?>"> <?= htmlReady($room_info['room']->getFullName()) ?> - <?= Icon::create('link-intern')->asSvg( + <?= Icon::create('link-intern')->asImg( [ 'class' => 'text-bottom', 'title' => '' diff --git a/app/views/resources/room_request/resolve_room_tr.php b/app/views/resources/room_request/resolve_room_tr.php index b0aa178..048f69c 100644 --- a/app/views/resources/room_request/resolve_room_tr.php +++ b/app/views/resources/room_request/resolve_room_tr.php @@ -49,11 +49,11 @@ name="all_in_room" value="<?= htmlReady($room->id) ?>" <?= $room_availability_share[$room->id] <= 0.0 ? 'disabled="disabled"' : '' ?>> <? if ($room_availability_share[$room->id] >= 1.0) : ?> - <?= Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asImg(['class' => 'text-bottom']) ?> <? elseif ($room_availability_share[$room->id] <= 0.0) : ?> - <?= Icon::create('decline-circle', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('decline-circle', Icon::ROLE_STATUS_RED)->asImg(['class' => 'text-bottom']) ?> <? else : ?> - <?= Icon::create('exclaim-circle', Icon::ROLE_STATUS_YELLOW)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('exclaim-circle', Icon::ROLE_STATUS_YELLOW)->asImg(['class' => 'text-bottom']) ?> <?= tooltipIcon(sprintf( _('%u von %u Terminen nicht verfügbar'), $unavailable_dates[$room->id], @@ -78,11 +78,11 @@ ? 'checked' : ''?>> <? if ($availability >= 1.0) : ?> - <?= Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asImg(['class' => 'text-bottom']) ?> <? elseif ($availability <= 0.0) : ?> - <?= Icon::create('decline-circle', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('decline-circle', Icon::ROLE_STATUS_RED)->asImg(['class' => 'text-bottom']) ?> <? else : ?> - <?= Icon::create('exclaim-circle', Icon::ROLE_STATUS_YELLOW)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('exclaim-circle', Icon::ROLE_STATUS_YELLOW)->asImg(['class' => 'text-bottom']) ?> <?= tooltipIcon(sprintf( _('%u von %u Terminen nicht verfügbar'), $unavailable_metadate_dates[$room->id][$metadate_id], @@ -119,12 +119,12 @@ || (!empty($interval['booked_rooms']) && in_array($room->id, $interval['booked_rooms']))) ? 'checked="checked"' : ''?>> - <?= Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asImg(['class' => 'text-bottom']) ?> <? else: ?> <input type="radio" name="<?= htmlReady($room_radio_name) ?>" value="1" disabled="disabled" class="text-bottom"> - <?= Icon::create('decline-circle', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('decline-circle', Icon::ROLE_STATUS_RED)->asImg(['class' => 'text-bottom']) ?> <? endif ?> </td> <? $i++ ?> |
