{{ __('app.location.panel.parent-location.title') }}
@if($location->parent != null)
@endif
@if($location->children->count() > 0)
{{ __('app.location.panel.related-locations.title') }}
    @php $prevType = ""; @endphp @foreach($location->children as $child) @if($prevType != $child->type->name)
  • {{$child->type->name}}
  • @php $prevType = $child->type->name; @endphp @endif @endforeach
@endif
{{ __('app.location.panel.map.title') }}
@if($location->map_path != null) @endif
{{ __('app.location.panel.musical-theme.title') }}
@if($location->ytb_music_url != null)
@endif
@error('data_type_id')
{{ $message }}
@enderror
@error('data_name')
{{ $message }}
@enderror
@error('data_description')
{{ $message }}
@enderror
@error('data_note_content')
{{ $message }}
@enderror
@php $excludedIds = [$location->id]; if($location->parent != null) $excludedIds[] = $location->parent->id; @endphp @livewire('common.explorer-dialog', [ 'modalId' => 'modal-select-location', 'modalTitle' => "Select a parent location", "listener_name" => "openSelectorDialog_ParentLocation", "showClearButton" => true, "showOverviewButtonOnItem" => true, "showSearchInSelector" => false, "clickActionOnItem" => true, "actionOnItem" => "updateParentLocation", "actionOnMultipleItem" => false, "actionButtonLabel" => __('app.common.select'), "searchIn_Location" => true, "excludedLocationIds" => $excludedIds, ]) @livewire('common.manage-picture-dialog', [ 'picture_modal_id' => 'manage-map-location_'. $article->id, 'image_container' => $article, 'image_property' => 'map_path', 'storage_name' => 'location-maps', 'redirect_url' => route($article->classTypeShortName() .'-view', $article->id), 'listener_name' => "openManageLocation_Map", ]) @livewire('common.manage-youtube-url-dialog', [ 'youtubeURL_modal_id' => 'musical-theme-location_'. $location->id, 'youtubeURL_container' => $location, 'youtubeURL_property' => 'ytb_music_url', 'redirect_url' => route($location->classTypeShortName() .'-view', $location->id), 'listener_name' => "openManageLocation_MusicalTheme", ])