From 027b0b63636f692e674f99053afd95710bb3e0fa Mon Sep 17 00:00:00 2001 From: Zach Auclair Date: Thu, 18 Jun 2015 11:22:10 -0400 Subject: [PATCH] feat(views/index): add quick-update buttons for incidents These buttons only appear if the current user is logged in and are similar to `resources/views/dashboard/incidents/index.blade.php`. --- resources/views/partials/incidents.blade.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/views/partials/incidents.blade.php b/resources/views/partials/incidents.blade.php index 3be623f0..b847b71b 100644 --- a/resources/views/partials/incidents.blade.php +++ b/resources/views/partials/incidents.blade.php @@ -12,6 +12,12 @@
+ @if($loggedUser) + + @endif {{ $incident->name }}{{ $incident->isScheduled ? trans("cachet.incidents.scheduled_at", ["timestamp" => $incident->scheduled_at_diff]) : null }}