Merge pull request #907 from cachethq/show-affected-component

Show label with component name next to incident. Closes #671
This commit is contained in:
James Brooks 2015-08-15 13:08:08 +01:00
commit 9515d874bf

View File

@ -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">