mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Merge pull request #907 from cachethq/show-affected-component
Show label with component name next to incident. Closes #671
This commit is contained in:
commit
9515d874bf
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user