fix blade trad
This commit is contained in:
parent
97dc1acf2a
commit
066fd0c8b3
28 changed files with 85 additions and 44 deletions
|
|
@ -65,6 +65,7 @@ class ExplorerpageController extends Controller
|
|||
public function edit(Explorerpage $explorerpage): \Illuminate\Contracts\View\View
|
||||
{
|
||||
$commitmentModels = Commitment::all();
|
||||
|
||||
return view('bo.pages.explorerpages.edit', [
|
||||
'explorerpageModel' => $explorerpage,
|
||||
'commitmentModels' => $commitmentModels,
|
||||
|
|
|
|||
|
|
@ -93,4 +93,19 @@ return [
|
|||
'growth_potential' => '2.18 kg at 49 days',
|
||||
],
|
||||
|
||||
'meta' => [
|
||||
'title' => [
|
||||
'create' => '{*} Create a new :model',
|
||||
'edit' => '{*} Edit an existing :model',
|
||||
'show' => '{*} See an existing :model',
|
||||
],
|
||||
// phpcs:disable Generic.Files.LineLength.TooLong
|
||||
'description' => [
|
||||
'index' => '{*} List of all the :model',
|
||||
'create' => '{*} Creation of a new :model',
|
||||
'edit' => '{*} Edition of an existing :model',
|
||||
'show' => '{*} See informations of an existing :model déjà existant',
|
||||
],
|
||||
// phpcs:enable
|
||||
]
|
||||
];
|
||||
|
|
|
|||
|
|
@ -98,5 +98,21 @@ return [
|
|||
|
||||
'placeholders' => [
|
||||
'beautiful' => 'Un beau :field',
|
||||
],
|
||||
|
||||
'meta' => [
|
||||
'title' => [
|
||||
'create' => '{0} Création d\'un :model|{1} Création d\'une :model',
|
||||
'edit' => '{0} Edition d\'un :model|{1} Edition d\'une :model',
|
||||
'show' => '{0} Visualisation d\'un :model|{1} Visualisation d\'une :model',
|
||||
],
|
||||
// phpcs:disable Generic.Files.LineLength.TooLong
|
||||
'description' => [
|
||||
'index' => '{0} Liste de tous les :model|{1} Liste de toutes les :model',
|
||||
'create' => '{0} Création d\'un tout nouveau :model|{1} Création d\'une toute nouvelle :model|{2} Création d\'un tout nouvel :model',
|
||||
'edit' => '{0} Edition d\'un :model déjà existant|{1} Edition d\'une :model déjà existante',
|
||||
'show' => '{0} Visualisation d\'un :model déjà existant|{1} Visualisation d\'une :model déjà existante',
|
||||
],
|
||||
// phpcs:enable
|
||||
]
|
||||
];
|
||||
|
|
|
|||
|
|
@ -196,7 +196,13 @@ export default defineComponent({
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import url("./../../../js/vendor/ckeditor/build/styles.css");
|
||||
.belongs-to-many-dropdown {
|
||||
// 2. Include functions first (so you can manipulate colors, SVGs, calc, etc)
|
||||
@import "bootstrap/scss/functions";
|
||||
|
||||
// 3. Include remainder of required Bootstrap stylesheets
|
||||
@import "bootstrap/scss/variables";
|
||||
&, .vue-tags-input {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
|
@ -237,6 +243,9 @@ export default defineComponent({
|
|||
background-color: var(--bs-gray-300) !important;
|
||||
color: var(--bs-gray-900) !important;
|
||||
}
|
||||
&item {
|
||||
color: $body-color;
|
||||
}
|
||||
}
|
||||
|
||||
.message {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(trans_choice('models.classes.activity_log', '*')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => trans_choice('models.classes.activity_log', '*')]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 0, ['model' => trans_choice('models.classes.activity_log', '*')]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $explorerpageModel])
|
||||
|
||||
@section('title', trans_choice('crud.meta.title.edit', 0, ['model' => __('models.classes.explorerpage')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 0, ['model' => __('models.classes.explorerpage')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 1, ['model' => __('models.classes.explorerpage')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 1, ['model' => __('models.classes.explorerpage')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $newsModel])
|
||||
|
||||
@section('title', __('Création d\'un :model', ['model' => __('models.classes.news')]))
|
||||
@section('description', __('Création d\'un tout nouveau :model', ['model' => __('models.classes.news')]))
|
||||
@section('title', trans_choice('crud.meta.title.create', 1, ['model' => __('models.classes.news')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 1, ['model' => __('models.classes.news')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $newsModel])
|
||||
|
||||
@section('title', __('Édition d\'un :model', ['model' => __('models.classes.news')]))
|
||||
@section('description', __('Édition d\'un :model déjà existant', ['model' => __('models.classes.news')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 1, ['model' => __('models.classes.news')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 1, ['model' => __('models.classes.news')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(__('models.classes.news')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => Str::plural(__('models.classes.news'))]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 1, ['model' => Str::plural(__('models.classes.news'))]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $productModel])
|
||||
|
||||
@section('title', __('Création d\'un :model', ['model' => __('models.classes.product')]))
|
||||
@section('description', __('Création d\'un tout nouveau :model', ['model' => __('models.classes.product')]))
|
||||
@section('title', trans_choice('crud.meta.title.create', 0, ['model' => __('models.classes.product')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 0, ['model' => __('models.classes.product')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $productModel])
|
||||
|
||||
@section('title', __('Édition d\'un :model', ['model' => __('models.classes.product')]))
|
||||
@section('description', __('Édition d\'un :model déjà existant', ['model' => __('models.classes.product')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 0, ['model' => __('models.classes.product')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 0, ['model' => __('models.classes.product')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(__('models.classes.product')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => Str::plural(__('models.classes.product'))]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 0, ['model' => Str::plural(__('models.classes.product'))]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $rangeModel])
|
||||
|
||||
@section('title', __('Création d\'un :model', ['model' => __('models.classes.range')]))
|
||||
@section('description', __('Création d\'un tout nouveau :model', ['model' => __('models.classes.range')]))
|
||||
@section('title', trans_choice('crud.meta.title.create', 1, ['model' => __('models.classes.range')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 1, ['model' => __('models.classes.range')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $rangeModel])
|
||||
|
||||
@section('title', __('Édition d\'un :model', ['model' => __('models.classes.range')]))
|
||||
@section('description', __('Édition d\'un :model déjà existant', ['model' => __('models.classes.range')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 1, ['model' => __('models.classes.range')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 1, ['model' => __('models.classes.range')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(__('models.classes.range')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => Str::plural(__('models.classes.range'))]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 1, ['model' => Str::plural(__('models.classes.range'))]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $seasonalSectionModel])
|
||||
|
||||
@section('title', __('Création d\'une :model', ['model' => trans_choice('models.classes.seasonal_section', 1)]))
|
||||
@section('description', __('Création d\'une toute nouvelle :model', ['model' => trans_choice('models.classes.seasonal_section', 1)]))
|
||||
@section('title', trans_choice('crud.meta.title.create', 1, ['model' => trans_choice('models.classes.seasonal_section', 1)]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 1, ['model' => trans_choice('models.classes.seasonal_section', 1)]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $seasonalSectionModel])
|
||||
|
||||
@section('title', __('Édition d\'un :model', ['model' => __('models.classes.seasonal_section')]))
|
||||
@section('description', __('Édition d\'un :model déjà existant', ['model' => __('models.classes.seasonal_section')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 0, ['model' => __('models.classes.seasonal_section')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 1, ['model' => __('models.classes.seasonal_section')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
@ -15,9 +15,11 @@
|
|||
@include('modules.breadcrumbs.breadcrumb-body', ['brParam' => $seasonalSectionModel])
|
||||
</div>
|
||||
<div class="mb-md-0 mb-2">
|
||||
<form class="btn-group confirmDeleteTS" action="{{ route('bo.seasonalsections.destroy', $seasonalSectionModel) }}" method="POST" novalidate>
|
||||
<form class="btn-group confirmDeleteTS" action="{{ route('bo.seasonalsections.destroy', $seasonalSectionModel) }}" method="POST"
|
||||
novalidate>
|
||||
@can('duplicate', $seasonalSectionModel)
|
||||
<a class="btn btn-secondary" data-bs-toggle="tooltip" href="{{ route('bo.seasonalsections.duplicate', ['seasonal_section' => $seasonalSectionModel]) }}"
|
||||
<a class="btn btn-secondary" data-bs-toggle="tooltip"
|
||||
href="{{ route('bo.seasonalsections.duplicate', ['seasonal_section' => $seasonalSectionModel]) }}"
|
||||
title="{{ Str::ucfirst(__('crud.actions.duplicate')) }}">
|
||||
<i class="fa-solid fa-copy"></i>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(trans_choice('models.classes.seasonal_section', '*')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => trans_choice('models.classes.seasonal_section', '*')]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 0, ['model' => trans_choice('models.classes.seasonal_section', '*')]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $stampModel])
|
||||
|
||||
@section('title', __('Création d\'un :model', ['model' => __('models.classes.stamp')]))
|
||||
@section('description', __('Création d\'un tout nouveau :model', ['model' => __('models.classes.stamp')]))
|
||||
@section('title', trans_choice('crud.meta.title.create', 0, ['model' => __('models.classes.stamp')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 0, ['model' => __('models.classes.stamp')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $stampModel])
|
||||
|
||||
@section('title', __('Édition d\'un :model', ['model' => __('models.classes.stamp')]))
|
||||
@section('description', __('Édition d\'un :model déjà existant', ['model' => __('models.classes.stamp')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 0, ['model' => __('models.classes.stamp')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 0, ['model' => __('models.classes.stamp')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(__('models.classes.stamp')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => Str::plural(__('models.classes.stamp'))]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 0, ['model' => Str::plural(__('models.classes.stamp'))]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
@extends('bo.layout', ['brParam' => $staticPageModel])
|
||||
|
||||
@section('title', __('Édition d\'une :model', ['model' => trans_choice('models.classes.static_page', 1)]))
|
||||
@section('description', __('Édition d\'une :model déjà existante', ['model' => trans_choice('models.classes.static_page', 1)]))
|
||||
@section('breadcrumb', request()->route()->getName())
|
||||
@section('title', trans_choice('crud.meta.title.edit', 1, ['model' => trans_choice('models.classes.static_page', 1)]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 1, ['model' => trans_choice('models.classes.static_page', 1)]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap pb-3">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(trans_choice('models.classes.static_page', '*')))
|
||||
@section('description', __('Liste de toutes les :model', ['model' => trans_choice('models.classes.static_page', '*')]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 1, ['model' => trans_choice('models.classes.static_page', '*')]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $testimonialModel])
|
||||
|
||||
@section('title', trans_choice('crud.meta.title.create', 0, ['model' => __('models.classes.testimonial')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 2, ['model' => __('models.classes.testimonial')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 0, ['model' => __('models.classes.testimonial')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
@section('title',
|
||||
Str::of(__('models.classes.testimonial'))->plural()->ucfirst())
|
||||
@section('description',
|
||||
__('Liste de tous les :model', [
|
||||
'model' => Str::of(__('models.classes.testimonial'))->plural()->ucfirst(),
|
||||
]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 0, ['model' => __('models.classes.testimonial')]))
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
@include('modules.breadcrumbs.breadcrumb-body')
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $userModel])
|
||||
|
||||
@section('title', __('Création d\'un :model', ['model' => __('models.classes.user')]))
|
||||
@section('description', __('Création d\'un tout nouveau :model', ['model' => __('models.classes.user')]))
|
||||
@section('title', trans_choice('crud.meta.title.create', 0, ['model' => __('models.classes.user')]))
|
||||
@section('description', trans_choice('crud.meta.description.create', 0, ['model' => __('models.classes.user')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout', ['brParam' => $userModel])
|
||||
|
||||
@section('title', __('Édition d\'un :model', ['model' => __('models.classes.user')]))
|
||||
@section('description', __('Édition d\'un :model déjà existant', ['model' => __('models.classes.user')]))
|
||||
@section('title', trans_choice('crud.meta.title.edit', 0, ['model' => __('models.classes.user')]))
|
||||
@section('description', trans_choice('crud.meta.description.edit', 0, ['model' => __('models.classes.user')]))
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@extends('bo.layout')
|
||||
|
||||
@section('title', Str::ucfirst(__('models.classes.user')))
|
||||
@section('description', __('Liste de tous les :model', ['model' => Str::plural(__('models.classes.user'))]))
|
||||
@section('description', trans_choice('crud.meta.description.index', 0, ['model' => Str::plural(__('models.classes.user'))]))
|
||||
|
||||
@section('content')
|
||||
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue