From a353535da240c539c98e942063f802fbdfa9e6c3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 5 Dec 2023 18:04:17 +0100 Subject: [PATCH] wip #6555 @0.25 --- app/Models/FluidbookExternalInstallServer.php | 6 ------ .../views/vendor/backpack/crud/list-fluidbook.blade.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/Models/FluidbookExternalInstallServer.php b/app/Models/FluidbookExternalInstallServer.php index bf34457bd..126cadef1 100644 --- a/app/Models/FluidbookExternalInstallServer.php +++ b/app/Models/FluidbookExternalInstallServer.php @@ -56,12 +56,6 @@ class FluidbookExternalInstallServer extends ExternalServer $this->addField('allows_root', Checkbox::class, __('Autoriser le chargement à la racine (sur le chemin de base)'), ['default' => false]); } - public function onSaving(): bool - { - - - return parent::onSaving(); - } protected function isHosting() { diff --git a/resources/views/vendor/backpack/crud/list-fluidbook.blade.php b/resources/views/vendor/backpack/crud/list-fluidbook.blade.php index 331579d46..128278e26 100644 --- a/resources/views/vendor/backpack/crud/list-fluidbook.blade.php +++ b/resources/views/vendor/backpack/crud/list-fluidbook.blade.php @@ -17,7 +17,7 @@ {{ __('URL finale du fluidbook') }} @foreach($fluidbooks as $fluidbook) - @php($url = $crud->entry->base_url.json_decode($fluidbook['settings'], true)['install_online']['path']) + @php($url = $crud->entry->getBaseURL().json_decode($fluidbook['settings'], true)['install_online']['path']) {{$fluidbook['id']}} {{$fluidbook['c_title']}} -- 2.39.5