From d7ad5adef9d199051e310d24a4920c38b238ca0b Mon Sep 17 00:00:00 2001 From: timotheegoguely Date: Wed, 5 Feb 2025 15:35:43 +0100 Subject: [PATCH] update client user blueprint: replace fields by stats section --- public/site/blueprints/users/client.yml | 42 ++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/public/site/blueprints/users/client.yml b/public/site/blueprints/users/client.yml index 1d19e17..8cbba1c 100644 --- a/public/site/blueprints/users/client.yml +++ b/public/site/blueprints/users/client.yml @@ -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