@extends('admin.app') @section('content')
@if($groupSubRelations->new == 1) {{ __('variables.elements_list') }} {{ __('variables.add_element') }} @else {{ __('variables.elements_list') }} @endif @if($groupSubRelations->del_to_rec == 1) @endif

@if(!empty($social_list) && count($social_list))
@if($groupSubRelations->active == 1) @endif @if($groupSubRelations->del_to_rec == 1) @endif @foreach($social_list as $key => $one_social_item) @endif @endforeach
{{__('variables.photo')}} {{__('variables.title_table')}} {{__('variables.link')}} {{__('variables.edit_table')}}{{__('variables.active_table')}} {{__('variables.for_call')}}{{__('variables.position_table')}}{{__('variables.delete_table')}}
{{ $loop->iteration }} @if(($one_social_item->img) && file_exists('upfiles/social-media/' . $one_social_item->img)) @else no-image @endif {{ $one_social_item->name ?? __('variables.another_name') }} {{ $one_social_item->link ?? __('variables.do_not_exist') }} {{ __('variables.edit') }}
active == 1 ? 'checked' : ''}}>
for_call == 1 ? 'checked' : ''}}>
@if($groupSubRelations->del_to_rec == 1)
@include('admin.templates.pagination', ['paginator' => $social_list]) @else @include('admin.templates.empty-list') @endif
@stop