@foreach($devices as $device) @if( ($type == 'verified' && $device->verified_at) || ($type == 'unverified' && !$device->verified_at) )
@switch($device->device_type) @case('Desktop') @include('elements.icon',['icon'=>'desktop-outline','classes'=>'mr-2']) @break @case('Mobile') @include('elements.icon',['icon'=>'phone-portrait-outline','classes'=>'mr-2']) @break @case('Tablet') @include('elements.icon',['icon'=>'tablet-portrait-outline','classes'=>'mr-2']) @break @endswitch {{$device->browser}} {{__("on")}} {{$device->platform}}
{{__("Created at")}}: {{$device->created_at}}
@include('elements.icon',['icon'=>'close-outline'])
@endif @endforeach