Add username to the dashboard of who logged an incident or any incident updates.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<p>{{ Str::words($incident->message, 5) }}</p>
|
||||
@endif
|
||||
@if ($incident->user)
|
||||
<p><small>— {{ trans('dashboard.incidents.reported_by', ['user' => $incident->user->username]) }}</small></p>
|
||||
<p><small>— {{ trans('dashboard.incidents.reported_by', ['timestamp' => $incident->created_at_diff, 'user' => $incident->user->username]) }}</small></p>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<div class="row striped-list-item">
|
||||
<div class="col-xs-6">
|
||||
<strong>{{ Str::words($update->message, 8) }}</strong>
|
||||
<p><small>{{ trans('cachet.incidents.posted', ['timestamp' => $update->created_at_diff]) }}</small></p>
|
||||
<p><small>{{ trans('cachet.incidents.posted', ['timestamp' => $update->created_at_diff, 'username' => $update->user->username]) }}</small></p>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<a href="{{ cachet_route('dashboard.incidents.updates.edit', ['incident' => $incident->id, 'incident_update' => $update]) }}" class="btn btn-default">
|
||||
|
||||
Reference in New Issue
Block a user