syntax changes

This commit is contained in:
Mark Gregory
2026-06-22 15:55:11 +01:00
parent d33ba90984
commit fc16aaa6ae
2 changed files with 1 additions and 7 deletions
@@ -971,7 +971,6 @@
</flux:badge> </flux:badge>
</div> </div>
</div> </div>
<div class="space-y-2"> <div class="space-y-2">
@foreach ($ticket->checklistItems as $item) @foreach ($ticket->checklistItems as $item)
<label <label
@@ -985,7 +984,6 @@
</div> </div>
</div> </div>
@endif @endif
<div <div
class="rounded-xl border border-zinc-200 bg-white p-4 shadow-sm dark:border-zinc-700 dark:bg-zinc-900"> class="rounded-xl border border-zinc-200 bg-white p-4 shadow-sm dark:border-zinc-700 dark:bg-zinc-900">
<div class="-mx-4 -mt-4 mb-4 rounded-t-xl bg-violet-700 px-4 py-4 text-white"> <div class="-mx-4 -mt-4 mb-4 rounded-t-xl bg-violet-700 px-4 py-4 text-white">
@@ -1000,7 +998,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="space-y-2"> <div class="space-y-2">
@forelse ($ticket->gitCommits as $commit) @forelse ($ticket->gitCommits as $commit)
<a href="{{ $commit->url ?: '#' }}" target="_blank" <a href="{{ $commit->url ?: '#' }}" target="_blank"
@@ -1018,7 +1015,6 @@
@endforelse @endforelse
</div> </div>
</div> </div>
@can('update', $ticket) @can('update', $ticket)
@include('helpdesk::partials.ticket-controls-collapsed-replacement') @include('helpdesk::partials.ticket-controls-collapsed-replacement')
@endcan @endcan
@@ -1,7 +1,5 @@
@php @php
$hasRunningTimer = method_exists($this, 'hasRunningTimer') $hasRunningTimer = method_exists($this, 'hasRunningTimer') && (bool)$this->hasRunningTimer();
? (bool) $this->hasRunningTimer()
: false;
@endphp @endphp
@can('update', $ticket) @can('update', $ticket)