|
- @extends('default')
-
- @section('title', $user->username . ' Bans')
-
- @section('breadcrumb')
- <a href="{{ route('index') }}">Home</a>
- <a>></a>
- <a href="{{ route('users') }}">Users</a>
- <a>></a>
- <a href="{{ route('user', ['user' => $user->id]) }}">{{ $user->username }}</a>
- <a>></a>
- <a href="{{ route('user.bans', ['user' => $user->id]) }}">Bans</a>
- @endsection
-
- @section('content')
- @foreach($bans as $ban)
- <div class="row">
- <b>{{ $ban->user->username }}</b> was banned by <b>{{ $ban->creator->username }}</b> at <b>{{ $ban->createdAt }}</b> until <b>{{ $ban->endsAt }}</b>
- <br/>Reason: "{{ $ban->reason }}"
- </div>
- <div class="row post">
- <div class="inner">
- <div class="postContent">
- {!! $ban->post->render() !!}
- </div>
- </div>
- </div>
- <div class="row spacer"></div>
- @endforeach
- @endsection
-
- @section('scripts')
- <link rel='stylesheet' type='text/css' href='/css/page/thread.css'/>
- @endsection
|