Merge branch 'update' into 'develop'
Update See merge request ldc-web/projets/ldc!100
This commit is contained in:
commit
f7933e1a87
4 changed files with 6 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ enum ModelsList: int
|
|||
*/
|
||||
case dynamic_pages = 1;
|
||||
case news = 2;
|
||||
case documents = 3;
|
||||
|
||||
/**
|
||||
* Labels definition.
|
||||
|
|
@ -25,6 +26,7 @@ enum ModelsList: int
|
|||
private const LABELS = [
|
||||
self::dynamic_pages->name => 'enums.model-list.dynamic-page',
|
||||
self::news->name => 'enums.model-list.news',
|
||||
self::documents->name => 'enums.model-list.document',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
@ -35,6 +37,7 @@ enum ModelsList: int
|
|||
private const TARGETFIELD = [
|
||||
self::dynamic_pages->name => 'title',
|
||||
self::news->name => 'title',
|
||||
self::documents->name => 'name',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -119,5 +119,6 @@ return [
|
|||
'dynamic-page' => Str::ucFirst(trans_choice('models.classes.dynamic-page', 1)),
|
||||
'news' => Str::ucFirst(trans_choice('models.classes.news', 1)),
|
||||
'company' => Str::ucFirst(trans_choice('models.classes.company', 1)),
|
||||
'document' => Str::ucFirst(trans_choice('models.classes.document', 1)),
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -121,5 +121,6 @@ return [
|
|||
'dynamic-page' => Str::ucFirst(trans_choice('models.classes.dynamic-page', 1)),
|
||||
'news' => Str::ucFirst(trans_choice('models.classes.news', 1)),
|
||||
'company' => Str::ucFirst(trans_choice('models.classes.company', 1)),
|
||||
'document' => Str::ucFirst(trans_choice('models.classes.document', 1)),
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
}
|
||||
}
|
||||
@endphp
|
||||
@if(!empty($brands))
|
||||
@if(!empty($brands) && request()->route()->getName() === "front.dynamic-pages.bien-nourrir.fr")
|
||||
<x-front.brands-icons.brands-icons :brands="$brands" :title="$section['string_title']" :subtitle="$section['string_subtitle']"
|
||||
:isOnCommitmentPage="true" />
|
||||
@else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue