fix: show age in user mgmt page and appl page
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -161,6 +161,8 @@
|
||||
<p><b>{{ __('Discord tag: ') }}</b><i class="fab fa-discord"> </i> {{ __(':discordUsername (Connected account)', ['discordUsername' => $application->user->username]) }} </p>
|
||||
@endif
|
||||
|
||||
<p><b>{{ __('Age: ') }}</b>{{ __(':age years old', ['age' => \Carbon\Carbon::parse($application->user->dob)->age]) }}</p>
|
||||
|
||||
@if (Auth::user()->hasRole('hiringManager'))
|
||||
<p><b>{{__('Applicant IP Address')}}</b> <span class="badge badge-primary">{{ (!$shouldCollect) ? __('0.0.0.0 (censored)') : $application->user->registrationIp }}</span></p>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user