Show label with component name next to incident. Closes #671
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
<a href="{{ route('dashboard.incidents.delete', ['id' => $incident->id]) }}" class="btn btn-danger confirm-action" data-method='DELETE'>{{ trans('forms.delete') }}</a>
|
||||
</div>
|
||||
@endif
|
||||
@if($incident->component)
|
||||
<span class="label label-default">{{ $incident->component->name }}</span>
|
||||
@endif
|
||||
<strong>{{ $incident->name }}</strong>{{ $incident->isScheduled ? trans("cachet.incidents.scheduled_at", ["timestamp" => $incident->scheduled_at_diff]) : null }}
|
||||
<br>
|
||||
<small class="date">
|
||||
|
||||
Reference in New Issue
Block a user