%PDF- %PDF-
Direktori : /www/loslex_o/demo/storage/framework/views/ |
Current File : /www/loslex_o/demo/storage/framework/views/7cdd2b125615cf99219f2016ee0633ae.php |
<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?> <?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('app-layout'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\AppLayout::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('pagetitle', null, []); ?> <?php echo e(__("Ranges")); ?> <?php $__env->endSlot(); ?> <?php $__env->slot('header', null, []); ?> <h2 class="text-gray-800 dark:text-gray-200 leading-tight"><?php echo e(__("Ranges")); ?></h2> <?php $__env->endSlot(); ?> <div class="flex flex-col gap-y-2 w-2/3 mx-auto"> <?php $__currentLoopData = $ranges; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $range): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($range->is_active || auth()->user()?->is_admin): ?> <div class="border rounded-md p-1"> <div class="flex gap-x-2 items-baseline"> <div><span class="text-xs text-gray-600 dark:text-gray-400 fa-solid fa-location-crosshairs"></span> <a href="<?php echo e(route('range.show', $range->id)); ?>"><?php echo e($range->name); ?></a></div> <?php if($range->region): ?><div class="text-xs"><?php echo e(__('region.' . \App\Enums\RangeRegionEnum::from($range->region)->name)); ?></div><?php endif; ?> </div> <div class="ml-4"> <?php if($range->is_active): ?> <div class="text-xs"><?php echo e(__('Listed contests')); ?>: <?php echo e($range->contestcount); ?></div> <?php else: ?> <div class="text-xs text-red-600 dark:text-red-400"><?php echo e(__('This shooting range is closed until further notice!')); ?></div> <?php endif; ?> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?> <?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?> <?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?> <?php endif; ?> <?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?> <?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?> <?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?> <?php endif; ?> <?php /**PATH /www/loslex/demo/resources/views/ranges/list.blade.php ENDPATH**/ ?>