mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
Link parent company
This commit is contained in:
@@ -288,9 +288,9 @@
|
||||
|
||||
|
||||
|
||||
@if ((isset($infoPanelObj->parent)) && $infoPanelObj->parent))
|
||||
@if ((isset($infoPanelObj->parent)) && ($infoPanelObj->parent))
|
||||
<x-info-element icon_type="parent" title="{{ trans('admin/locations/table.parent') }}">
|
||||
{{ $infoPanelObj->parent->display_name }}
|
||||
<a href="{{ route('locations.show', $infoPanelObj->parent->id) }}">{{ $infoPanelObj->parent->display_name }}</a>
|
||||
</x-info-element>
|
||||
@endif
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
])
|
||||
|
||||
@if (!$slot->isEmpty())
|
||||
<li {{ $attributes->merge(['class' => 'list-group-item']) }}>
|
||||
<li {{ $attributes->merge(['class' => 'list-group-item']) }} id="{{ strtolower(str_slug($title)) }}">
|
||||
|
||||
@if ($icon_type)
|
||||
<x-icon type="{{ $icon_type }}" :title="$title" class="fa-fw" style="{{ 'color: '.$icon_color.' !important' ?? '' }}" />
|
||||
|
||||
Reference in New Issue
Block a user