From: Vincent Vanwaelscappel Date: Wed, 29 Jan 2025 14:36:44 +0000 (+0100) Subject: wait #7273 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e2ce62850c695756c27153acccad08f561f521bc;p=fluidbook-toolbox.git wait #7273 @0.5 --- diff --git a/resources/linkeditor-stable/webpack.mix.js b/resources/linkeditor-stable/webpack.mix.js index cd9aaae1c..1b850cffe 100644 --- a/resources/linkeditor-stable/webpack.mix.js +++ b/resources/linkeditor-stable/webpack.mix.js @@ -1,3 +1,3 @@ const mix = require("laravel-mix"); mix.setPublicPath('public/packages/linkeditor-stable').js('resources/linkeditor-stable/js/linkeditor.js', 'js') - .sass('resources/linkeditor/style/style.sass', 'css').options({processCssUrls: false}).version(); + .sass('resources/linkeditor-stable/style/style.sass', 'css').options({processCssUrls: false}).version(); diff --git a/resources/views/fluidbook_publication/link_editor.blade.php b/resources/views/fluidbook_publication/link_editor.blade.php index f672a23c6..4d4d11d86 100644 --- a/resources/views/fluidbook_publication/link_editor.blade.php +++ b/resources/views/fluidbook_publication/link_editor.blade.php @@ -1,5 +1,10 @@ {{-- __('!! Editeur de liens') --}} @php + if($version==='stable'){ + $scriptVersion='-stable'; + }else{ + $scriptVersion=''; + } $title='#'.$id.' - '.__('Editeur de liens'); /** @var $fluidbook \App\Models\FluidbookPublication */ $depths=\App\SubForms\Link\Base::getDepths(\App\Models\FluidbookPublication::find($fluidbook->id)); @@ -308,10 +313,6 @@ @endif - - @@ -409,7 +410,7 @@ var ZOOM = null; + src="/packages/linkeditor{{$scriptVersion}}/js/linkeditor.js?v={{filemtime(public_path('packages/linkeditor'.$scriptVersion.'/js/linkeditor.js'))}}"> @endpush @push('linkeditor_styles') @@ -428,5 +429,5 @@ @endforeach + href="/packages/linkeditor{{$scriptVersion}}/css/style.css?v={{filemtime(public_path('packages/linkeditor'.$scriptVersion.'/css/style.css'))}}"/> @endpush