]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6066 @0:10
authorsoufiane <soufiane@cubedesigners.com>
Mon, 3 Jul 2023 16:26:37 +0000 (18:26 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 3 Jul 2023 16:26:37 +0000 (18:26 +0200)
resources/views/fluidbook_publication/delivery.blade.php

index 8fc3ad78ab05f76a09adf56b792c601e4435a276..cbff61c799963530d9bc523056be29c272750b78 100644 (file)
@@ -8,7 +8,6 @@
     $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">