feat: add discord account indicator
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
<span class="badge badge-danger ml-2"><i class="fas fa-exclamation-circle"></i> {{ __('Unverified Email') }}</span>
|
||||
@endif
|
||||
|
||||
@if($hasDiscord)
|
||||
<span class="badge badge-success ml-2"><i class="fas fa-link"> </i> {{ __('Connected to Discord') }}</span>
|
||||
@else
|
||||
<span class="badge badge-danger ml-2"><i class="fas fa-exclamation-circle"></i> {{ __('Disconnected from Discord') }}</span>
|
||||
@endif
|
||||
|
||||
@if ($has2FA)
|
||||
<span class="badge badge-success ml-2"><i class="fas fa-lock"> </i> {{ __('MFA Active') }}</span>
|
||||
@else
|
||||
|
@@ -274,7 +274,7 @@
|
||||
|
||||
<div class="mt-2 mb-2">
|
||||
<label>{{ __('Account indicators') }}</label>
|
||||
<x-account-status is-verified="{{ $isVerified }}" is-locked="{{ $isLocked }}" is-suspended="{{ $isSuspended }}" has2-f-a="{{ $has2FA }}" />
|
||||
<x-account-status has-discord="{{ $hasDiscord }}" is-verified="{{ $isVerified }}" is-locked="{{ $isLocked }}" is-suspended="{{ $isSuspended }}" has2-f-a="{{ $has2FA }}" />
|
||||
</div>
|
||||
|
||||
@if($user->hasDiscordConnection())
|
||||
|
Reference in New Issue
Block a user