fix roles

This commit is contained in:
Ludovic CANDELLIER
2022-01-30 00:30:21 +01:00
parent b4057c28d0
commit 5799eb36fc
32 changed files with 206 additions and 330 deletions

View File

@@ -2,11 +2,13 @@
@push('plugin-css')
<link rel="stylesheet" href="{!! mix('/plugins/fullcalendar/main.min.css', '/assets/vendor/boilerplate') !!}">
@endpush
@push('js')
@push('plugin-js')
<script src="{!! mix('/plugins/fullcalendar/fullcalendar.min.js', '/assets/vendor/boilerplate') !!}"></script>
@if(App::getLocale() !== 'en')
<script src="{!! mix('/plugins/fullcalendar/locales/'.App::getLocale().'.js', '/assets/vendor/boilerplate') !!}"></script>
<script>$.fn.fullCalendar.options = {locale:"{{ App::getLocale() }}"}</script>
<script>registerAsset('fullCalendar',()=>{$.fn.fullCalendar.options = {locale:"{{ App::getLocale() }}"}})</script>
@else
<script>registerAsset('fullCalendar')</script>
@endif
@endpush
@endonce