From c6c439017a96bbf4fc6b8373ede6755d249de988 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Fri, 7 Oct 2016 12:19:47 +0100 Subject: [PATCH] Only show the incidents headline if we have anything to show --- resources/views/partials/modules/timeline.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/partials/modules/timeline.blade.php b/resources/views/partials/modules/timeline.blade.php index 48ab9cb7..a0440535 100644 --- a/resources/views/partials/modules/timeline.blade.php +++ b/resources/views/partials/modules/timeline.blade.php @@ -1,4 +1,4 @@ -@if($days_to_show > 0) +@if($days_to_show > 0 && $all_incidents)

{{ trans('cachet.incidents.past') }}

@foreach($all_incidents as $date => $incidents)