+
+ @if (config('app.god_mode') && auth()->user()->is_developer)
+ {!! __('app.people_search', [
+ 'scope' => strtoupper(__('team.all_teams')),
+ ]) !!}
+ @else
+ {!! __('app.people_search', [
+ 'scope' => auth()->user()->currentTeam->name,
+ ]) !!}
+ @endif
+
+
+
+ @if (auth()->user()->hasPermission('person:create'))
+
+
+ {{ __('person.add_person') }}
+
+ @endif
+
+
+
+ @if ($this->search)
@if (config('app.god_mode') && auth()->user()->is_developer)
- {!! __('app.people_search', [
+ {!! __('app.people_found', [
+ 'total' => $people->total(),
'scope' => strtoupper(__('team.all_teams')),
+ 'keyword' => $this->search,
]) !!}
@else
- {!! __('app.people_search', [
+ {!! __('app.people_found', [
+ 'total' => $people->total(),
'scope' => auth()->user()->currentTeam->name,
+ 'keyword' => $this->search,
]) !!}
@endif
-
-
-
- @if (auth()->user()->hasPermission('person:create'))
-
-
- {{ __('person.add_person') }}
-
- @endif
-
-
-
- @if ($this->search)
- @if (config('app.god_mode') && auth()->user()->is_developer)
- {!! __('app.people_found', [
- 'total' => $people->total(),
- 'scope' => strtoupper(__('team.all_teams')),
- 'keyword' => $this->search,
- ]) !!}
- @else
- {!! __('app.people_found', [
- 'total' => $people->total(),
- 'scope' => auth()->user()->currentTeam->name,
- 'keyword' => $this->search,
- ]) !!}
- @endif
+ @else
+ @if (config('app.god_mode') && auth()->user()->is_developer)
+ {!! __('app.people_available', [
+ 'total' => $people_db,
+ 'scope' => strtoupper(__('team.all_teams')),
+ ]) !!}
@else
- @if (config('app.god_mode') && auth()->user()->is_developer)
- {!! __('app.people_available', [
- 'total' => $people_db,
- 'scope' => strtoupper(__('team.all_teams')),
- ]) !!}
- @else
- {!! __('app.people_available', [
- 'total' => $people_db,
- 'scope' => auth()->user()->currentTeam->name,
- ]) !!}
- @endif
+ {!! __('app.people_available', [
+ 'total' => $people_db,
+ 'scope' => auth()->user()->currentTeam->name,
+ ]) !!}
@endif
-
+ @endif