fix: 💄 refacto tickets show blade class to display the answer button always on the right

This commit is contained in:
Nicolas Demangeat 2025-05-12 15:08:05 +02:00
parent a484335112
commit aa49e077bd

View file

@ -103,19 +103,19 @@
<hr>
@endif
<div>
<div class="d-flex justify-content-between mb-3">
<h4>
@if ($ticket->site->projectManager)
<div class="d-flex mb-3">
@if ($ticket->site->projectManager)
<h4 class="">
{{ __("Chef de projet") }} : {{ $ticket->site->projectManager->name }}
@endif
</h4>
<div class="d-flex">
@endif
<div class="d-flex float-end ms-auto">
@can('estimate', $ticket)
<a class="btn btn-sm btn-info float-end mx-1"
<a class="btn btn-sm btn-info mx-1"
href="{{ route('bo.ticket.estimation.estimate', $ticket) }}">{{ __('Estimation') }}</a>
@endcan
@can('createMessage', $ticket)
<button class="btn btn-sm btn-primary float-end mx-1" data-bs-toggle="modal" data-bs-target="#messageModal" type="button">
<button class="btn btn-sm btn-primary mx-1" data-bs-toggle="modal" data-bs-target="#messageModal" type="button">
{{ __('Répondre') }}
</button>
@endcan