{{ __('plan.workspace.title') }}

{{ __('plan.workspace.intro') }}

{{ __('plan.workspace.active') }}

@foreach ($usable as $c) @php $isCurrent = $current && $current->id === $c->id; @endphp

{{ $c->workspace?->name }}

{{ $c->workspace?->kind->label() }} - {{ $c->yearLabel() }}

@if ($isCurrent){{ __('plan.workspace.in_use') }}@endif
@unless ($isCurrent){{ __('plan.workspace.use') }}@endunless @if ($usable->count() + $locked->count() > 1) {{ __('plan.workspace.archive') }} @endif
@endforeach @error('archive')

{{ $message }}

@enderror @foreach ($locked as $c)

{{ $c->workspace?->name }}

{{ $c->workspace?->kind->label() }} - {{ $c->yearLabel() }}

{{ __('plan.workspace.locked') }}

{{ __('plan.workspace.locked_help') }} {{ __('plan.workspace.see_offers') }}

@endforeach

{{ __('plan.workspace.new') }}

@if ($canCreate)

{{ $limit === null ? __('plan.workspace.new_help_unlimited') : __('plan.workspace.new_help', ['limit' => $limit]) }}

{{ __('plan.workspace.create') }} @else

{{ __('plan.workspace.limit_reached') }}

{{ __('plan.workspace.see_offers') }} @endif