@if (session()->has('success'))
{{ session()->get('success') }}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif

{{ __('Invite Keys') }}

@if (config('tadah.users_create_invite_keys'))
@endif

{{ __(':maximum keys can be created every :cooldown days. Creating a key costs :amount :currency.', ['cooldown' => config('tadah.user_maximum_keys_in_window'), 'maximum' => config('tadah.user_maximum_keys_in_window'), 'amount' => config('tadah.user_invite_key_cost'), 'currency' => config('tadah.currency_name')]) }} @if (config('tadah.discord_required')) {{ __('You also need a Discord account.') }} @endif

{{ __('Keys') }}
@if ($keys->total() == 0) {{ __('You have not created any keys yet.') }} @else
@foreach ($keys as $key) @endforeach
{{ __('Key') }} {{ __('Created') }} {{ __('Last Used') }} {{ __('Valid') }}
{{ $key->token }} {{ $key->created_at->format('m/d/y') }} {{ $key->updated_at->format('m/d/y') }} {!! $key->isValid() ? __('Valid') : __('Used') !!}
@endif
@if (config('tadah.users_create_invite_keys')) @endif
{{ $keys->links() }}