merge
This commit is contained in:
parent
3f10b863c1
commit
fa34aed357
18 changed files with 165 additions and 171 deletions
|
|
@ -1,9 +0,0 @@
|
|||
Date: 2024-10-02 01:10
|
||||
|
||||
----
|
||||
|
||||
Uuid: 1NmPGSM9FKgiyOwH
|
||||
|
||||
----
|
||||
|
||||
Template: default
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
Date: 2024-10-02 01:10
|
||||
|
||||
----
|
||||
|
||||
Uuid: ump9516TWbjrIo7T
|
||||
|
||||
----
|
||||
|
||||
Template: default
|
||||
|
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 217 KiB |
|
|
@ -0,0 +1,17 @@
|
|||
Date: 2024-10-02 02:10
|
||||
|
||||
----
|
||||
|
||||
Description:
|
||||
|
||||
----
|
||||
|
||||
Tags:
|
||||
|
||||
----
|
||||
|
||||
Uuid: RBUbSD0s5cYo0uQE
|
||||
|
||||
----
|
||||
|
||||
Template: image
|
||||
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
|
|
@ -0,0 +1,17 @@
|
|||
Description:
|
||||
|
||||
----
|
||||
|
||||
Tags: coloris & nuances, DA globale
|
||||
|
||||
----
|
||||
|
||||
Date: 2024-10-02 02:10
|
||||
|
||||
----
|
||||
|
||||
Uuid: gc1lqYk2YUOBgEoS
|
||||
|
||||
----
|
||||
|
||||
Template: image
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
Date: 2024-10-02 01:10
|
||||
|
||||
----
|
||||
|
||||
Uuid: RaQyVfBK6c8gv8pW
|
||||
|
||||
----
|
||||
|
||||
Template: default
|
||||
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 119 KiB |
|
|
@ -0,0 +1,17 @@
|
|||
Date: 2024-10-02 02:10
|
||||
|
||||
----
|
||||
|
||||
Description:
|
||||
|
||||
----
|
||||
|
||||
Tags:
|
||||
|
||||
----
|
||||
|
||||
Uuid: nf6u4SZVnNUUKKU2
|
||||
|
||||
----
|
||||
|
||||
Template: image
|
||||
|
|
@ -16,9 +16,9 @@ Description: Sed congue magna magna lorem aliquam diam dolor arcu fusce adipisci
|
|||
|
||||
Clientbriefimages:
|
||||
|
||||
- file://ump9516TWbjrIo7T
|
||||
- file://RaQyVfBK6c8gv8pW
|
||||
- file://1NmPGSM9FKgiyOwH
|
||||
- file://gc1lqYk2YUOBgEoS
|
||||
- file://RBUbSD0s5cYo0uQE
|
||||
- file://nf6u4SZVnNUUKKU2
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@ Title: Projets
|
|||
|
||||
----
|
||||
|
||||
Clientbriefimagetags: bouchon, bouton poussoir, coloris & nuances, DA globale, forme & design, matériaux & textures, parachèvements
|
||||
|
||||
----
|
||||
|
||||
Steps: Votre Brief, Offre Commerciale, Brief Enrichi, Rendu 360°
|
||||
|
||||
----
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ fields:
|
|||
size: small
|
||||
width: 1/2
|
||||
tags:
|
||||
type: tags
|
||||
# tags:
|
||||
# type: tags
|
||||
type: multiselect
|
||||
options: query
|
||||
query: page('projects').clientBriefImageTags.split
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
title: Projets
|
||||
|
||||
sections:
|
||||
fieldsSection:
|
||||
type: fields
|
||||
fields:
|
||||
clientBriefImageTags:
|
||||
label: Tags des images ajoutées aux briefs
|
||||
type: tags
|
||||
drafts:
|
||||
extends: sections/projects
|
||||
headline: Brouillons
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ return [
|
|||
$newFile = $page->createFile([
|
||||
'source' => $upload['tmp_name'],
|
||||
'filename' => $name,
|
||||
'template' => 'default',
|
||||
'template' => 'image',
|
||||
'content' => [
|
||||
'date' => date('Y-m-d h:m')
|
||||
]
|
||||
|
|
|
|||
|
|
@ -5,11 +5,14 @@ $images = [];
|
|||
foreach ($page->clientBriefImages()->toFiles() as $image) {
|
||||
$images[] = [
|
||||
'url' => $image->url(),
|
||||
'uuid' => (string) $image->uuid()
|
||||
'uuid' => (string) $image->uuid(),
|
||||
'tags' => page('projects')->clientBriefImageTags()->split(),
|
||||
'selectedTags' => $image->tags()->split()
|
||||
];
|
||||
}
|
||||
|
||||
$specificData = [
|
||||
"tags" => $page->parent()->parent()->clientBriefImageTags()->split(),
|
||||
"images" => $images
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue