@@ -1021,150 +1020,7 @@
@can('update', $ticket)
-
-
-
-
-
-
-
-
Ticket controls
-
Log time, assignment, status and
- priority
-
-
-
-
-
- @if (session('ticket-action-updated'))
-
- {{ session('ticket-action-updated') }}
-
- @endif
- @include('helpdesk::partials.ticket-time-timer', [
- 'ticket' => $ticket,
- ])
-
-
-
-
-
-
-
-
+ @include('helpdesk::partials.ticket-controls-collapsed-replacement')
@endcan
diff --git a/Modules/Helpdesk/Resources/views/partials/ticket-controls-collapsed-replacement.blade.php b/Modules/Helpdesk/Resources/views/partials/ticket-controls-collapsed-replacement.blade.php
new file mode 100644
index 00000000..088f3301
--- /dev/null
+++ b/Modules/Helpdesk/Resources/views/partials/ticket-controls-collapsed-replacement.blade.php
@@ -0,0 +1,162 @@
+@php
+ $hasRunningTimer = method_exists($this, 'hasRunningTimer')
+ ? (bool) $this->hasRunningTimer()
+ : false;
+@endphp
+
+@can('update', $ticket)
+
+
+
+
+
+
+
+
Ticket controls
+
Log time, assignment, status and
+ priority
+
+
+
+
+
+
+
+
+
+ @if (session('ticket-action-updated'))
+
+ {{ session('ticket-action-updated') }}
+
+ @endif
+
+ @include('helpdesk::partials.ticket-time-timer', [
+ 'ticket' => $ticket,
+ ])
+
+
+
+
+
+
+
+
+
+@endcan