$statusText = $fluidbook->status ? 'prêt' : 'en cours de production';
$qrCodeMobile = QrCode::size(311)->color(27, 42, 78)->generate($fluidbook->getPreviewURL());
-
$fluidbookDesktopPreview = route('deliveryThumb', ['id' => $fluidbook->id, 'type' => 'desktop']);
$fluidbookMobilePreview = route('deliveryThumb', ['id' => $fluidbook->id, 'type' => 'mobile']);
['Langue principale' => $fluidbook->locale],
['Date de création' => $fluidbook->created_at],
['Dernière modification' => $fluidbook->updated_at],
- ['Mode de navigation' => $fluidbook->mobileTransitions],
+ ['Mode de navigation' => getMobileTransitionName($fluidbook->mobileTransitions)],
['SEO' => $fluidbook->seoVersion],
['SCORM (e-learning)' => $fluidbook->scorm_version],
['Statistiques Fluidbook' => $fluidbook->stats],
['Google Analytics' => $fluidbook->googleTagManager]
];
+ function getMobileTransitionName($transition) {
+ return match ($transition) {
+ 'flip3d' => 'Flip',
+ 'fade' => 'R',
+ default => $transition
+ };
+ }
+
$features = [
'index' => ["value" => $fluidbook->index,"text" => __('Index'),"svg" => "nav-index"],
'print' => ["value" => $fluidbook->print,"text" => __('Imprimer'),"svg" => "nav-print"],
}
$objectMail = "[Fluidbook #".$fluidbook->id."]";
+
+ $paramsArray = [
+ ''
+ ];
@endphp
@section('after_styles')
<div class="btn-install">
<a href="{{ $installServerUrl }}" class="btn btn-primary" target="_blank" rel="noopener">
Installer sur le serveur d’hébergement
+ <p class="m-0 mt-1 font-xs font-weight-normal">{{ $installServerUrl }}</p>
</a>
- <p class="m-0 mt-1 font-xs">{{ $installServerUrl }}</p>
</div>
<div class="delivery-dropdown position-relative">
<div class="dropdown-control d-flex justify-content-between">