From: soufiane Date: Thu, 6 Jul 2023 09:39:47 +0000 (+0200) Subject: wip #6066 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=dc836183f0ae4275d016a430e2542bcb5b324acc;p=fluidbook-toolbox.git wip #6066 @0:10 --- diff --git a/resources/views/fluidbook_publication/delivery.blade.php b/resources/views/fluidbook_publication/delivery.blade.php index e1df60003..3789687b2 100644 --- a/resources/views/fluidbook_publication/delivery.blade.php +++ b/resources/views/fluidbook_publication/delivery.blade.php @@ -81,13 +81,15 @@ $installServerUrl = null; if($fluidbook->install_online) { - $serverId = intval($fluidbook->install_online['server']); - $serverPath = $fluidbook->install_online['path']; - $servers=\App\Models\FluidbookExternalInstallServer::getAllServers(); - $serverInfos = $servers[$serverId]; - $baseUrl = $serverInfos['base_url']; - $serverName = $serverInfos['name']; - $installServerUrl = $baseUrl.$serverPath; + if($fluidbook->install_online['server']) { + $serverId = intval($fluidbook->install_online['server']); + $serverPath = $fluidbook->install_online['path']; + $servers=\App\Models\FluidbookExternalInstallServer::getAllServers(); + $serverInfos = $servers[$serverId]; + $baseUrl = $serverInfos['base_url']; + $serverName = $serverInfos['name']; + $installServerUrl = $baseUrl.$serverPath; + } } $downloadVersions = $fluidbook->getDownloadVersions(); @@ -338,11 +340,9 @@ -->
-
-

{{ __('Mini Fluidbook animé') }}

-
+

{{ __('Mini Fluidbook animé') }}

- +
{{ __('Voir la notice') }} @@ -350,6 +350,7 @@
+ @endif
@@ -409,7 +410,7 @@
- @endif +