feat: add discord account info to application screen
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
parent
68aa968a5c
commit
49b93f50f1
@ -156,6 +156,11 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
||||||
<p><b>{{__('Applicant Name')}} </b> <span class="badge badge-primary">{{$application->user->name}}</span></p>
|
<p><b>{{__('Applicant Name')}} </b> <span class="badge badge-primary">{{$application->user->name}}</span></p>
|
||||||
|
|
||||||
|
@if ($application->user->hasDiscordConnection())
|
||||||
|
<p><b>{{ __('Discord tag: ') }}</b><i class="fab fa-discord"> </i> {{ __(':discordUsername (Connected account)', ['discordUsername' => $application->user->username]) }} </p>
|
||||||
|
@endif
|
||||||
|
|
||||||
@if (Auth::user()->hasRole('hiringManager'))
|
@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>
|
<p><b>{{__('Applicant IP Address')}}</b> <span class="badge badge-primary">{{ (!$shouldCollect) ? __('0.0.0.0 (censored)') : $application->user->registrationIp }}</span></p>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user