%PDF- %PDF-
Direktori : /data/www_bck/loslex_bck/test/storage/framework/views/ |
Current File : //data/www_bck/loslex_bck/test/storage/framework/views/e5de3eb952ce96c46a3a4f540dc8a281.php |
<div class="w-full" wire:key="showuser-<?php echo e($user->id); ?>"> <div class="border-b mb-2 text-xl font-semibold"> <?php echo e($user->displayname); ?> <?php if(!$user->is_active): ?><span class="uppercase"> - <?php echo e(__('Banned!')); ?></span><?php endif; ?> <button wire:click="$dispatch('closeModal')" class="text-base float-right" title="<?php echo e(__('Close dialog')); ?>"><span class="fa-solid fa-circle-xmark text-red-500"></button> </div> <div class="grid grid-cols-fitfirst gap-x-2 gap-y-1 content-baseline mb-2 border-b"> <?php if(!$user->is_active && $user->ban_reason): ?> <div><span class="fa-solid fa-triangle-exclamation mr-1 text-red-500" title="<?php echo e(__('Ban reason')); ?>"></span></div> <div><?php echo e($user->ban_reason); ?></div> <?php endif; ?> <div><span class="mr-1 fa-solid fa-id-badge" title="<?php echo e(__('DB id')); ?>"></span></div> <div><?php echo e($user->id); ?></div> <div><span class="mr-1 fa-solid fa-fingerprint" title="<?php echo e(__('LOS Alias')); ?>"></span></div> <div><?php echo e($user->username); ?></div> <div><span class="fa-solid fa-at mr-1 <?php if($user->email_verified_at): ?> text-green-500 <?php else: ?> text-red-500 <?php endif; ?>" title="<?php echo e(__('Email')); ?>"></span></div> <div><a href="mailto:<?php echo e($user->email); ?>"><?php echo e($user->email); ?></a></div> <?php if($user->phone_number): ?> <div><span class="mr-1 fa-solid fa-phone" title="<?php echo e(__('Phone number')); ?>"></span></div> <div class="whitespace-nowrap"><?php echo e($user->phone_number_formatted()); ?></div> <?php endif; ?> <div><span class="fa-solid fa-gun mr-1" title="<?php echo e(__('Licence number')); ?>"></span></div> <div><?php echo e($user->licence_number ?? '---'); ?></div> <?php if($user->lex_hash): ?> <div><img class="h-4 mr-1 inline" src="/assets/images/lex-logo.webp" alt="LEX" title="<?php echo e(__('LEX membership control code')); ?>" /></div> <div> <a href="https://k.gunlex.cz/<?php echo e($user->lex_hash); ?>" target="lexmembership"><?php echo e($user->lex_hash); ?></a> <?php if($user->lex_validity): ?><span class="text-xs">(<?php echo e($user->lex_validity->isoFormat('LL')); ?>)</span><?php endif; ?> </div> <?php endif; ?> <?php if($user->city): ?> <div><span class="fa-solid fa-city mr-1" title="<?php echo e(__('City')); ?>"></span></div> <div><?php echo e($user->city); ?></div> <?php endif; ?> <?php if(auth()->user()?->is_admin): ?> <div><span class="fa-solid fa-unlock-keyhole mr-1" title="<?php echo e(__('Last login')); ?>"></span></div> <div><?php echo e($user->last_login); ?></div> <div><span class="fa-solid fa-user-plus mr-1" title="<?php echo e(__('Account created')); ?>"></span></div> <div><?php echo e($user->created_at); ?></div> <div><span class="fa-solid fa-user-pen mr-1" title="<?php echo e(__('Account updated')); ?>"></span></div> <div><?php echo e($user->updated_at); ?></div> <?php if($user->deleted_at): ?> <div><span class="fa-solid fa-user-xmark mr-1" title="<?php echo e(__('Account deleted')); ?>"></span></div> <div><?php echo e($user->deleted_at); ?></div> <?php endif; ?> <?php if($user->email_verified_at): ?> <div><span class="fa-solid fa-envelope-circle-check mr-1" title="<?php echo e(__('Email verified')); ?>"></span></div> <div><?php echo e($user->email_verified_at); ?></div> <?php endif; ?> <?php endif; ?> </div> <?php if(auth()->user()?->is_admin): ?> <?php if($user->organizer_groups->count()): ?> <div class="mb-2 pb-2 border-b"> <div class="font-semibold"><?php echo e(__('Organizer')); ?></div> <?php $__currentLoopData = $user->organizer_groups; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $orgroup): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="text-sm"><a href="<?php echo e(route('organizer.show', $orgroup->id)); ?>" target="orgroups"><?php echo e($orgroup->name); ?></a></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <div class="font-semibold"><?php echo e(__('Contests')); ?></div> <div class="text-sm grid grid-cols-[max-content_max-content_max-content_auto] gap-x-2 gap-y-1 mb-2 border-b"> <?php if($user->registrations->count()): ?> <?php $__currentLoopData = $user->registrations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div><?php echo e($reg->contest->date->isoFormat("YYYY-MM-DD")); ?></div> <div class="cursor-help" title="<?php echo e(__('contest.' . $reg->contest->contest_level?->name)); ?>"><?php echo e(__('contest.short-' . $reg->contest->contest_level?->name)); ?></div> <div class="cursor-help" title="<?php echo e(__('contest.' . $reg->division?->division)); ?>"><?php echo e($reg->division?->division); ?> <?php if($reg->notcomp): ?><?php echo e(__('(NC)')); ?><?php endif; ?></div> <div class="truncate"><a href="<?php echo e(route('contest.show', $reg->contest->id)); ?>" target="contest"><?php echo e($reg->contest->contestname); ?></a></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php echo e(__('No registrations...')); ?> <?php endif; ?> </div> <?php if($user->dqs()): ?> <div class="font-semibold"><?php echo e(__('Disqualifications')); ?></div> <div class="text-sm grid grid-cols-[max-content_max-content_max-content_auto] gap-x-2 gap-y-1 mb-2 border-b"> <?php $__currentLoopData = $user->dqsList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div><?php echo e($reg->contest->date->isoFormat("YYYY-MM-DD")); ?></div> <div class="cursor-help" title="<?php echo e(__('contest.' . $reg->contest->contest_level?->name)); ?>"><?php echo e(__('contest.short-' . $reg->contest->contest_level?->name)); ?></div> <div class="cursor-help" title="<?php echo e(__('contest.' . $reg->division?->division)); ?>"><?php echo e($reg->division?->division); ?> <?php if($reg->notcomp): ?><?php echo e(__('(NC)')); ?><?php endif; ?></div> <div class="truncate"><a href="<?php echo e(route('contest.show', $reg->contest->id)); ?>" target="contest"><?php echo e($reg->contest->contestname); ?></a></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <?php endif; ?> </div> <?php /**PATH /www/loslex/test/resources/views/livewire/modal-user-show.blade.php ENDPATH**/ ?>