@extends('user.layout') @php $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1]])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); @endphp @section('content')
{{ __('Counter Informations') }}
@if (!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
@if (!is_null($userDefaultLang)) {{ __('Add Counter') }} @endif
@if (is_null($userDefaultLang))

{{ __('NO LANGUAGE FOUND') }}

@else @if (count($counterInformations) == 0)

{{ __('NO COUNTER INFORMATION FOUND') }}

@else
@if ( $userBs->theme != 'home_four' && $userBs->theme != 'home_five' && $userBs->theme != 'home_ten' && $userBs->theme != 'home_twelve') @else @endif @foreach ($counterInformations as $key => $counterInformation) @if ( $userBs->theme != 'home_four' && $userBs->theme != 'home_five' && $userBs->theme != 'home_ten' && $userBs->theme != 'home_twelve') @else @endif @endforeach
{{ __('Icon') }}{{ __('Title') }} {{ __('Count') }} {{ __('Actions') }}
{{ strlen($counterInformation->title) > 30 ? mb_substr($counterInformation->title, 0, 30, 'UTF-8') . '...' : $counterInformation->title }} {{ $counterInformation->count }} {{ __('Edit') }}
@csrf
@endif @endif
@endsection