Rework site and projects blueprints

This commit is contained in:
Timothée Goguely 2024-11-22 10:12:15 +01:00
parent a16d7bcce8
commit 76ce0b3d03
2 changed files with 18 additions and 19 deletions

View file

@ -10,14 +10,14 @@ tabs:
extends: sections/projects
headline: Brouillons
status: draft
- width: 1/2
- width: 1/1
sections:
listed:
extends: sections/projects
headline: En cours
query: user.currentProjects
sortBy: modified desc
- width: 1/2
- width: 1/1
sections:
unlisted:
extends: sections/projects

View file

@ -5,26 +5,20 @@ tabs:
label: Dashboard
icon: dashboard
columns:
clients:
width: 1/2
- width: 1/1
sections:
yourProjects:
label: Vos projets
type: pages
help: Projets pour lesquels vous êtes nommé chef de projet.
image:
query: page.client.toPage.logo.toFile
projects:
width: 1/2
sections:
modifiedProjects:
listed:
extends: sections/projects
headline: Projets récement modifiés
parent: site.find("projects")
headline: Projets en cours
query: user.currentProjects
sortBy: modified desc
- width: 1/1
sections:
unlisted:
extends: sections/projects
headline: Projets archivés
query: user.archivedProjects
sortBy: modified desc
layout: list
image:
query: page.client.toPage.logo.toFile
settings:
label: Paramètres
icon: cog
@ -35,6 +29,11 @@ tabs:
label: Paramètres
type: fields
fields:
description:
label: Description
type: text
max: 160
help: Description en une phrase du service
moodboardTags:
label: Tags des images de Brief client
help: Ensemble des tags dimages disponibles lors de la création du Brief client