diff --git a/resources/views/partials/incident.blade.php b/resources/views/partials/incident.blade.php deleted file mode 100644 index 4b11a063..00000000 --- a/resources/views/partials/incident.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -
-
- @if($current_user) - - @endif - @if($incident->component) - {{ $incident->component->name }} - @endif - {{ $incident->name }}{{ $incident->isScheduled ? trans("cachet.incidents.scheduled_at", ["timestamp" => $incident->scheduled_at_diff]) : null }} -
- - @if($with_link) - - @else - - @endif - -
-
- {!! $incident->formatted_message !!} -
- @if($incident->updates->count()) -
- @foreach($incident->updates as $update) - - {{ Str::limit($update->raw_message, 20) }} - {{ $update->created_at_diff }} - - - @endforeach -
- @endif -
diff --git a/resources/views/partials/incidents.blade.php b/resources/views/partials/incidents.blade.php index a668e886..8428e72d 100644 --- a/resources/views/partials/incidents.blade.php +++ b/resources/views/partials/incidents.blade.php @@ -10,7 +10,39 @@
- @include('partials.incident', ['incident' => $incident, 'with_link' => true]) +
+
+ @if($current_user) + + @endif + @if($incident->component) + {{ $incident->component->name }} + @endif + {{ $incident->name }}{{ $incident->isScheduled ? trans("cachet.incidents.scheduled_at", ["timestamp" => $incident->scheduled_at_diff]) : null }} +
+ + + +
+
+ {!! $incident->formatted_message !!} +
+ @if($incident->updates->count()) +
+ @foreach($incident->updates as $update) + + {{ Str::limit($update->raw_message, 20) }} + {{ $update->created_at_diff }} + + + @endforeach +
+ @endif +
+