2015-08-15 15:10:20 +01:00
|
|
|
@extends('layout.master')
|
|
|
|
|
2016-03-22 20:18:51 +00:00
|
|
|
@section('bodyClass', 'no-padding')
|
|
|
|
|
2016-03-21 17:38:50 +00:00
|
|
|
@section('outer-content')
|
|
|
|
@include('partials.nav')
|
|
|
|
@stop
|
2015-08-15 15:10:20 +01:00
|
|
|
|
2016-03-21 17:38:50 +00:00
|
|
|
@section('content')
|
2016-10-06 17:21:18 +01:00
|
|
|
<h1>{{ $incident->name }} <small>{{ formatted_date($incident->created_at) }}</small></h1>
|
2015-08-15 15:10:20 +01:00
|
|
|
|
2016-10-06 17:21:18 +01:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div class="markdown-body">
|
|
|
|
{!! $incident->formattedMessage !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if($incident->updates)
|
2015-08-24 22:39:11 +01:00
|
|
|
<div class="timeline">
|
|
|
|
<div class="content-wrapper">
|
2016-10-06 17:21:18 +01:00
|
|
|
@foreach ($incident->updates as $index => $update)
|
|
|
|
<div class="moment {{ $index === 0 ? 'first' : null }}" id="update-{{ $update->id }}">
|
2015-08-24 22:39:11 +01:00
|
|
|
<div class="row event clearfix">
|
|
|
|
<div class="col-sm-1">
|
2016-10-06 17:21:18 +01:00
|
|
|
<div class="status-icon status-{{ $update->status }}" data-toggle="tooltip" title="{{ $update->human_status }}" data-placement="left">
|
|
|
|
<i class="{{ $update->icon }}"></i>
|
2015-08-15 20:51:04 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-24 22:39:11 +01:00
|
|
|
<div class="col-xs-10 col-xs-offset-2 col-sm-11 col-sm-offset-0">
|
2016-10-06 17:21:18 +01:00
|
|
|
<div class="panel panel-message incident">
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="markdown-body">
|
|
|
|
{!! $update->formattedMessage !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer"><small>{{ trans('cachet.incidents.posted', ['timestamp' => $update->created_at_diff]) }}</small></div>
|
|
|
|
</div>
|
2015-08-24 22:39:11 +01:00
|
|
|
</div>
|
2015-08-15 20:51:04 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-10-06 17:21:18 +01:00
|
|
|
@endforeach
|
2015-08-15 20:51:04 +01:00
|
|
|
</div>
|
2015-08-24 22:39:11 +01:00
|
|
|
</div>
|
2016-10-06 17:21:18 +01:00
|
|
|
@endif
|
2015-08-15 15:10:20 +01:00
|
|
|
@stop
|