reorganize panel:
- project blueprints : add managers field - projects blueprint : re organize, add 'Vos projets' section based on custom user method - menu : hide dashboard item (useless)
This commit is contained in:
parent
d3e73bc8de
commit
4f60dc91d3
15 changed files with 110 additions and 150 deletions
|
|
@ -28,6 +28,10 @@ tabs:
|
|||
image:
|
||||
query: page.logo.toFile
|
||||
layout: cardlets
|
||||
managers:
|
||||
label: Chefs de projet
|
||||
type: users
|
||||
help: Utilisateurs autorisés à intervenir sur ce projet et notifiés lorsque quelqu'un intervient dessus.
|
||||
|
||||
- width: 2/3
|
||||
sections:
|
||||
|
|
|
|||
|
|
@ -1,21 +1,50 @@
|
|||
title: Projets
|
||||
|
||||
sections:
|
||||
fieldsSection:
|
||||
type: fields
|
||||
tabs:
|
||||
contentTab:
|
||||
label: Contenu
|
||||
columns:
|
||||
- width: 1/1
|
||||
sections:
|
||||
drafts:
|
||||
extends: sections/projects
|
||||
headline: Brouillons
|
||||
status: draft
|
||||
- width: 1/2
|
||||
sections:
|
||||
yourProjects:
|
||||
label: Vos projets
|
||||
type: pages
|
||||
query: user.projects
|
||||
create: false
|
||||
help: Projets pour lesquels vous êtes nommé chef de projet.
|
||||
image:
|
||||
query: page.client.toPage.logo.toFile
|
||||
listed:
|
||||
extends: sections/projects
|
||||
headline: En cours
|
||||
layout: list
|
||||
info: "étape : {{ page.getStepLabel }}"
|
||||
status: listed
|
||||
- width: 1/2
|
||||
sections:
|
||||
modifiedProjects:
|
||||
extends: sections/projects
|
||||
create: false
|
||||
headline: Projets récement modifiés
|
||||
sortBy: modified desc
|
||||
layout: list
|
||||
image:
|
||||
query: page.client.toPage.logo.toFil
|
||||
unlisted:
|
||||
extends: sections/projects
|
||||
headline: Archivés
|
||||
status: unlisted
|
||||
|
||||
settings:
|
||||
label: Réglages
|
||||
icon: cog
|
||||
fields:
|
||||
clientBriefImageTags:
|
||||
label: Tags des images ajoutées aux briefs
|
||||
type: tags
|
||||
drafts:
|
||||
extends: sections/projects
|
||||
headline: Brouillons
|
||||
status: draft
|
||||
listed:
|
||||
extends: sections/projects
|
||||
headline: En cours
|
||||
status: listed
|
||||
unlisted:
|
||||
extends: sections/projects
|
||||
headline: Archivés
|
||||
status: unlisted
|
||||
|
|
|
|||
|
|
@ -8,23 +8,16 @@ tabs:
|
|||
clients:
|
||||
width: 1/2
|
||||
sections:
|
||||
clients:
|
||||
label: Clients
|
||||
yourProjects:
|
||||
label: Vos projets
|
||||
type: pages
|
||||
parent: site.find("clients")
|
||||
template: client
|
||||
search: true
|
||||
query: user.projects
|
||||
help: Projets pour lesquels vous êtes nommé chef de projet.
|
||||
image:
|
||||
back: white
|
||||
query: page.client.toPage.logo.toFile
|
||||
projects:
|
||||
width: 1/2
|
||||
sections:
|
||||
projects:
|
||||
extends: sections/projects
|
||||
headline: Projets récement modifiés
|
||||
parent: site.find("projects")
|
||||
layout: list
|
||||
sortBy: modified desc
|
||||
settings:
|
||||
label: Paramètres
|
||||
icon: cog
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
title: Admin
|
||||
home: /panel/pages/projects
|
||||
|
||||
fields:
|
||||
notifications:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue