mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 00:52:07 +00:00
Load all frontend packages conditionally
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
@php require_frontend_packages(['fullcalendar']); @endphp
|
||||
|
||||
@extends('layout.default')
|
||||
|
||||
@section('title', $__t('Meal plan'))
|
||||
|
||||
@push('pageScripts')
|
||||
<script src="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.js?v=', true) }}{{ $version }}"></script>
|
||||
@if(!empty($__t('fullcalendar_locale') && $__t('fullcalendar_locale') != 'x'))<script src="{{ $U('/node_modules', true) }}/fullcalendar/dist/locale/{{ $__t('fullcalendar_locale') }}.js?v={{ $version }}"></script>@endif
|
||||
@endpush
|
||||
|
||||
@push('pageStyles')
|
||||
<link href="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.css?v=', true) }}{{ $version }}"
|
||||
rel="stylesheet">
|
||||
|
||||
<style>
|
||||
.fc-event-container {
|
||||
border-bottom: 1px solid !important;
|
||||
|
Reference in New Issue
Block a user