@if (Auth::user()->isCurrentTeam($team))
@endif
{{ $team->name }}
{{-- An archive is a finished company: readable, not workable. Say so
here, so nobody switches into one expecting to get work done. --}}
@if (\App\Support\ArchiveGuard::isArchived($team))
@php $switchUnlocked = \App\Support\ArchiveGuard::isUnlocked($team); @endphp
{{ $switchUnlocked ? __('Unlocked') : __('Archive') }}
@endif