This commit is contained in:
Jérémy Munsch 2022-07-13 17:49:56 +02:00
parent 83f39a2c87
commit d7661da346
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
3 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@
<form action="{{ route('bo.products.change-published', $productModel->id) }}" method="POST">
@csrf
<button type="submit" class="btn btn-sm" title="{{ __(':action :model', [
'action' => $productModel->status ? __('Déplublier') : __('Publier'),
'action' => $productModel->status ? __('Dépublier') : __('Publier'),
'model' => Str::singular(__('models.classes.products'))
]) }}" data-bs-toggle="tooltip">
<i class="fas @if($productModel->status)fa-check check-green @else fa-times cross-red @endif"></i>

View file

@ -59,7 +59,7 @@
<form action="{{ route('bo.ranges.change-published', $rangeModel->id) }}" method="POST">
@csrf
<button type="submit" class="btn btn-sm" title="{{ __(':action :model', [
'action' => $rangeModel->status ? __('Déplublier') : __('Publier'),
'action' => $rangeModel->status ? __('Dépublier') : __('Publier'),
'model' => Str::singular(__('models.classes.ranges'))
]) }}" data-bs-toggle="tooltip">
<i class="fas @if($rangeModel->status)fa-check check-green @else fa-times cross-red @endif"></i>

View file

@ -90,7 +90,7 @@
<form action="{{ route('bo.sliders.change-published', $slider->id) }}" method="POST">
@csrf
<button type="submit" class="btn btn-sm" title="{{ __(':action :model', [
'action' => $slider->status ? __('Déplublier') : __('Publier'),
'action' => $slider->status ? __('Dépublier') : __('Publier'),
'model' => Str::singular(__('models.classes.sliders'))
]) }}" data-bs-toggle="tooltip">
<i class="fas @if($slider->status)fa-check check-green @else fa-times cross-red @endif"></i>