Files
Virtnet.bond/themes/lucentui/views/tickets/widget.blade.php
Joseph.Rawlings f394483daa feat: Update Proxmox extension with various improvements and bug fixes
- Change listStates method to accept nullable integer for limit parameter.
- Modify TechnitiumDns class to return structured error messages on failure.
- Enhance VNC and xterm popup routes with user authorization checks.
- Update backups view to improve loading states and add unique keys for dynamic elements.
- Refactor cloud-init view to ensure proper data binding and improve user experience.
- Add wire:key attributes to various elements in views for better Livewire performance.
- Improve error handling and user feedback in the firewall view.
- Update server overview and statistics views to handle potential null values gracefully.
- Add new migration files to extend database schema with user-set icons and notes for Proxmox nodes.
2026-02-23 17:23:01 -05:00

35 lines
1.5 KiB
PHP

<div class="space-y-4">
@foreach ($tickets as $ticket)
<a href="{{ route('tickets.show', $ticket) }}" wire:navigate>
<div class="bg-gradient-to-br from-background-secondary/50 to-background-secondary/30 border border-neutral p-4 rounded-lg mb-4">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<div class="bg-secondary/10 p-2 rounded-full">
<x-ri-ticket-line class="size-5 text-secondary" />
</div>
<span class="font-medium">{{ $ticket->subject }}</span>
</div>
<div class="size-5 rounded-full p-0.5
@if ($ticket->status == 'open') text-success bg-success/20
@elseif($ticket->status == 'closed') text-inactive bg-inactive/20
@else text-info bg-info/20
@endif"
@if ($ticket->status == 'open')
<x-ri-add-circle-fill />
@elseif($ticket->status == 'closed')
<x-ri-forbid-fill />
@elseif($ticket->status == 'replied')
<x-ri-chat-smile-2-fill />
@endif
</div>
</div>
<p class="text-base text-sm">
{{ __('ticket.last_activity') }}
{{ $ticket->messages()->orderBy('created_at', 'desc')->first()?->created_at?->diffForHumans() ?? __('ticket.no_messages') }}
{{ $ticket->department ? ' - ' . $ticket->department : '' }}
</p>
</div>
</a>
@endforeach
</div>