fix: restore projects and client fields for client blueprint #117

This commit is contained in:
Timothée Goguely 2025-02-06 11:35:59 +01:00
parent 2d89290055
commit 41ae744d08

View file

@ -33,12 +33,28 @@ sections:
value: Design to Pack
link: https://designtopack.morphozbygroupepochet.com/
icon: open
- label: Client
value: "{{ user.client.toPage.title }}"
icon: user
- label:
fr: Projet(s) en cours
en: Current project(s)
link: https://designtopack.morphozbygroupepochet.com/
value: "{{ user.projects.toPages.count }}"
icon: folder
content:
label: ' '
type: fields
fields:
client:
type: pages
multiple: false
query: site.find("clients").childrenAndDrafts
subpages: false
image:
query: page.logo.toFile
layout: cardlets
required: true
width: 1/2
projects:
label: Projets
type: pages
query: page('projects').children
width: 1/2