Enhance visual tickets display
This commit is contained in:
parent
b3c87ac735
commit
abcee7b301
3 changed files with 7 additions and 3 deletions
|
|
@ -9,6 +9,7 @@
|
|||
<a href="{{ route('ticket.show', $ticket) }}" class="text-decoration-none btn btn-sm btn-primary" role="button" aria-roledescription="{{ _('Revenir en arrière') }}"><i class="fa-solid fa-arrow-left-long"></i></a>
|
||||
{{ $ticket->full_name }}
|
||||
@if ($ticket->is_internal)<i class="fa-solid fa-lock"></i>@endif
|
||||
<span class="badge {{ $ticket->type->class }}">{{ $ticket->type->label }}</span>
|
||||
<span class="text-decoration-underline">{{ __('Créer une estimation') }}</span>
|
||||
</h2>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@
|
|||
<div class="card-header">
|
||||
<h2 class="col h4">
|
||||
<a href="{{ route('ticket.index') }}" class="text-decoration-none btn btn-sm btn-primary" role="button" aria-roledescription="{{ _('Revenir en arrière') }}"><i class="fa-solid fa-arrow-left-long"></i></a>
|
||||
<span> {{ __('Modifier un ticket') }}</span>
|
||||
<span> {{ __('Modifier un ticket') }}</span> -
|
||||
{{ $ticket->full_name }}
|
||||
@if ($ticket->is_internal)<i class="fa-solid fa-lock"></i>@endif
|
||||
<span class="badge {{ $ticket->type->class }}">{{ $ticket->type->label }}</span>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<a href="{{ route('ticket.index') }}" class="text-decoration-none btn btn-sm btn-primary" role="button" aria-roledescription="{{ _('Revenir en arrière') }}"><i class="fa-solid fa-arrow-left-long"></i></a>
|
||||
{{ $ticket->full_name }}
|
||||
@if ($ticket->is_internal)<i class="fa-solid fa-lock"></i>@endif
|
||||
<span class="badge bg-info">{{ $ticket->status->label }}</span>
|
||||
<span class="badge {{ $ticket->type->class }}">{{ $ticket->type->label }}</span>
|
||||
</h2>
|
||||
<div class="col d-flex flex-row text-end">
|
||||
@can('suscribeToTicket', $ticket)
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
<input type="hidden" name="ticket_id" value="{{ $ticket->id }}">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="messageModalLabel">
|
||||
{{ __('Répondre au ticket n°:ticketId', ['ticketId' => $ticket->id]) }}
|
||||
{{ __('Répondre au ticket n°:ticketId', ['ticketId' => $ticket->id]) }} <span class="badge {{ $ticket->type->class }}">{{ $ticket->type->label }}</span>
|
||||
</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{__('Fermer') }}"></button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue