@extends('layouts.app') @section('title', __('Магазин')) @section('content')
| ID | {{ __('Иконка') }} | {{ __('Название') }} | {{ __('Цена (монет)') }} | {{ __('Статус') }} | {{ __('Куплено') }} | {{ __('Действия') }} |
|---|---|---|---|---|---|---|
| {{ $i->id }} | {{ $i->icon }} |
{{ $i->name }}
{{ $i->kind === 'avatar' ? __('Аватар (снят с продажи)') : __(\App\Http\Controllers\AdminShopController::KINDS[$i->kind] ?? $i->kind) }}
@if ($effectLabel = \App\Support\Cosmetics::frameEffectLabel($i->value))
· ✨ {{ $effectLabel }}
@elseif ($i->kind === 'profile_theme')
· 🪪 {{ __(\App\Support\Cosmetics::PROFILE_THEMES[$i->value] ?? (string) $i->value) }}
@elseif ($i->value)
@endif
@if (($i->min_level ?? 1) > 1) · {{ __('с :n уровня', ['n' => $i->min_level]) }} @endif
|
{{ $i->cost_coins }} | @if ($i->active) {{ __('Активен') }} @else {{ __('Отключён') }} @endif | {{ $i->unlock_count }} |