update client user blueprint: replace fields by stats section

This commit is contained in:
Timothée Goguely 2025-02-05 15:35:43 +01:00
parent e6bcee8dde
commit d7ad5adef9

View file

@ -21,24 +21,24 @@ options:
update:
client: false
fields:
websiteLink:
label: false
type: info
text: |
**[Ouvrir le site.](https://designtopack.morphozbygroupepochet.com/)**
client:
type: pages
multiple: false
query: site.find("clients").childrenAndDrafts
subpages: false
image:
query: page.logo.toFile
layout: cardlets
required: true
width: 1/3
projects:
label: Projets
type: pages
query: page('projects').children
width: 2/3
sections:
stats:
label: ' '
type: stats
size: huge
reports:
- label:
fr: Ouvrir la plateforme
en: Open platform
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