Attribute incidents to who reported them
This commit is contained in:
@@ -24,7 +24,10 @@
|
||||
<div class="col-xs-6">
|
||||
<i class="{{ $incident->icon }}"></i> <strong>{{ $incident->name }}</strong> <span class="badge badge-info">{{ trans_choice('dashboard.incidents.updates.count', $incident->updates()->count()) }}</span>
|
||||
@if($incident->message)
|
||||
<p><small>{{ Str::words($incident->message, 5) }}</small></p>
|
||||
<p>{{ Str::words($incident->message, 5) }}</p>
|
||||
@endif
|
||||
@if ($incident->user)
|
||||
<p><small>— {{ trans('dashboard.incidents.reported_by', ['user' => $incident->user->username]) }}</small></p>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
|
||||
Reference in New Issue
Block a user