activeBan.blade.php
418 Bytes
@if ($ban)
<div class="error mb15">
This user is already banned by
<a href="{{ route('profile', ['username' => $ban->getCreatedBy()]) }}">{{ $ban->getCreatedBy() }}</a>
for {{ $ban->getDurationHumanized() }}. This ban will end in {{ $ban->getDurationHumanized() }}.
If you ban this user now you will overwrite the existing ban. You may still do it if it's needed.
</div>
@endif