panel : add project type
This commit is contained in:
parent
483c3cc758
commit
4e2757ae3a
3 changed files with 59 additions and 2 deletions
|
|
@ -35,6 +35,13 @@ tabs:
|
|||
required: true
|
||||
- width: 1/3
|
||||
fields:
|
||||
projectType:
|
||||
label: Type de projet
|
||||
type: select
|
||||
options:
|
||||
dtp: Design to pack
|
||||
morphoz: Morphoz
|
||||
other: autre
|
||||
client:
|
||||
type: pages
|
||||
multiple: false
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ title: Projets
|
|||
|
||||
tabs:
|
||||
contentTab:
|
||||
label: Contenu
|
||||
label: Tous les projets
|
||||
columns:
|
||||
- width: 1/1
|
||||
sections:
|
||||
|
|
@ -24,6 +24,57 @@ tabs:
|
|||
headline: Archivés
|
||||
query: user.archivedProjects
|
||||
sortBy: modified desc
|
||||
dtpProjects:
|
||||
label: DTP
|
||||
columns:
|
||||
- width: 1/1
|
||||
sections:
|
||||
listedDtp:
|
||||
extends: sections/projects
|
||||
headline: En cours
|
||||
query: user.currentProjects.filterBy('projectType', 'dtp')
|
||||
sortBy: modified desc
|
||||
- width: 1/1
|
||||
sections:
|
||||
unlistedDtp:
|
||||
extends: sections/projects
|
||||
headline: Archivés
|
||||
query: user.archivedProjects.filterBy('projectType', 'dtp')
|
||||
sortBy: modified desc
|
||||
morphozProjects:
|
||||
label: Morphoz
|
||||
columns:
|
||||
- width: 1/1
|
||||
sections:
|
||||
listedMorphoz:
|
||||
extends: sections/projects
|
||||
headline: En cours
|
||||
query: user.currentProjects.filterBy('projectType', 'morphoz')
|
||||
sortBy: modified desc
|
||||
- width: 1/1
|
||||
sections:
|
||||
unlistedMorphoz:
|
||||
extends: sections/projects
|
||||
headline: Archivés
|
||||
query: user.archivedProjects.filterBy('projectType', 'morphoz')
|
||||
sortBy: modified desc
|
||||
otherProjects:
|
||||
label: Autres
|
||||
columns:
|
||||
- width: 1/1
|
||||
sections:
|
||||
listedOther:
|
||||
extends: sections/projects
|
||||
headline: En cours
|
||||
query: user.currentProjects.filterBy('projectType', 'other')
|
||||
sortBy: modified desc
|
||||
- width: 1/1
|
||||
sections:
|
||||
unlistedOther:
|
||||
extends: sections/projects
|
||||
headline: Archivés
|
||||
query: user.archivedProjects.filterBy('projectType', 'other')
|
||||
sortBy: modified desc
|
||||
|
||||
settings:
|
||||
label: Réglages
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ tabs:
|
|||
headline: Archivés
|
||||
query: user.archivedProjects
|
||||
sortBy: modified desc
|
||||
|
||||
settings:
|
||||
label: Réglages
|
||||
icon: cog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue