2015-08-15 15:10:20 +01:00
|
|
|
@extends('layout.master')
|
|
|
|
|
2017-06-07 13:45:47 +01:00
|
|
|
@section('title', $incident->name.' | '.$site_title)
|
|
|
|
|
2018-02-11 21:04:16 +01:00
|
|
|
@section('description', trans('cachet.meta.description.incident', ['name' => $incident->name, 'date' => $incident->occurred_at_formatted]))
|
|
|
|
|
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-29 17:25:52 +01:00
|
|
|
<h1>{{ $incident->name }} <small>{{ $incident->occurred_at_formatted }}</small></h1>
|
2015-08-15 15:10:20 +01:00
|
|
|
|
2016-10-06 17:21:18 +01:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div class="markdown-body">
|
2016-11-25 20:34:58 +00:00
|
|
|
{!! $incident->formatted_message !!}
|
2016-10-06 17:21:18 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@if($incident->updates)
|
2015-08-24 22:39:11 +01:00
|
|
|
<div class="timeline">
|
|
|
|
<div class="content-wrapper">
|
2017-03-09 19:28:04 +00:00
|
|
|
@foreach ($incident->updates as $update)
|
|
|
|
<div class="moment {{ $loop->first ? '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">
|
2018-01-13 17:45:13 +01:00
|
|
|
@if($current_user)
|
2018-01-14 22:17:58 +01:00
|
|
|
<div class="pull-right btn-group">
|
|
|
|
<a href="{{ cachet_route('dashboard.incidents.updates.edit', ['incident' => $incident, 'incident_update' => $update]) }}" class="btn btn-default">{{ trans('forms.edit') }}</a>
|
|
|
|
</div>
|
2018-01-13 17:45:13 +01:00
|
|
|
@endif
|
2016-10-06 17:21:18 +01:00
|
|
|
<div class="markdown-body">
|
2016-11-25 20:34:58 +00:00
|
|
|
{!! $update->formatted_message !!}
|
2016-10-06 17:21:18 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-12-03 05:35:23 -05:00
|
|
|
<div class="panel-footer">
|
|
|
|
<small>
|
|
|
|
<span data-toggle="tooltip" title="
|
|
|
|
{{ trans('cachet.incidents.posted_at', ['timestamp' => $update->created_at_formatted]) }}">
|
|
|
|
{{ trans('cachet.incidents.posted', ['timestamp' => $update->created_at_diff]) }}
|
|
|
|
</span>
|
|
|
|
</small>
|
|
|
|
</div>
|
2016-10-06 17:21:18 +01:00
|
|
|
</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
|
2017-05-07 11:38:31 +01:00
|
|
|
|
|
|
|
@section('bottom-content')
|
|
|
|
@include('partials.footer')
|
|
|
|
@stop
|