@if ($location->image!='')
@endif
@if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
@endif
@if ($location->address!='')
- {{ $location->address }}
@endif
@if ($location->address2!='')
- {{ $location->address2 }}
@endif
@if (($location->city!='') || ($location->state!='') || ($location->zip!=''))
- {{ $location->city }} {{ $location->state }} {{ $location->zip }}
@endif
@if ($location->manager)
- {{ trans('admin/users/table.manager') }}: {!! $location->manager->present()->nameUrl() !!}
@endif
@if ($location->parent)
- {{ trans('admin/locations/table.parent') }}: {!! $location->parent->present()->nameUrl() !!}
@endif
@if ($location->ldap_ou)
- {{ trans('admin/locations/table.ldap_ou') }}: {{ $location->ldap_ou }}
@endif
@if ((($location->address!='') && ($location->city!='')) || ($location->state!='') || ($location->country!=''))
-
{!! trans('admin/locations/message.open_map', ['map_provider_icon' => '']) !!}
-
{!! trans('admin/locations/message.open_map', ['map_provider_icon' => '']) !!}
@endif
@can('update', $location)
@endcan
@can('delete', $location)
@if ($location->deleted_at=='')
@if ($location->isDeletable())
@else
{{ trans('general.delete') }}
@endif
@else
@endif
@endcan