investigation-summary → investigation
This commit is contained in:
parent
b5f9da678f
commit
0726c50993
8 changed files with 52 additions and 52 deletions
132
site/blueprints/pages/investigation.yml
Normal file
132
site/blueprints/pages/investigation.yml
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
title: Investigation Summary
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
label: Contenu
|
||||
icon: page
|
||||
columns:
|
||||
- width: 2/6
|
||||
sections:
|
||||
createdSection:
|
||||
type: fields
|
||||
fields:
|
||||
created:
|
||||
label: Première publication
|
||||
type: date
|
||||
display: DD / MM / YYYY
|
||||
default: today
|
||||
width: 1/2
|
||||
cover:
|
||||
label: Visuel de couverture
|
||||
type: files
|
||||
multiple: false
|
||||
layout: cards
|
||||
image:
|
||||
ratio: 12/7
|
||||
cover: true
|
||||
help: Image utilisée dans les listes d'enquêtes
|
||||
- width: 4/6
|
||||
fields:
|
||||
chapo:
|
||||
label: Chapo
|
||||
type: writer
|
||||
nodes: false
|
||||
buttons: false
|
||||
heroType:
|
||||
label: Type de hero
|
||||
type: select
|
||||
default: image
|
||||
options:
|
||||
image: Image simple
|
||||
video: Vidéo
|
||||
default: image
|
||||
width: 1/3
|
||||
heroImages:
|
||||
label: Images hero
|
||||
type: files
|
||||
multiple: true
|
||||
layout: cards
|
||||
width: 1/3
|
||||
when:
|
||||
heroType: image
|
||||
videoPreview:
|
||||
label: Preview
|
||||
type: files
|
||||
multiple: false
|
||||
help: Extrait joué en autoplay muet.
|
||||
width: 1/3
|
||||
when:
|
||||
heroType: video
|
||||
videoUrl:
|
||||
label: URL vidéo complète (YouTube embed)
|
||||
type: url
|
||||
width: 1/3
|
||||
when:
|
||||
heroType: video
|
||||
body:
|
||||
label: Corps
|
||||
type: layout
|
||||
layouts:
|
||||
- "1/1"
|
||||
- "1/2, 1/2"
|
||||
fieldsets:
|
||||
- heading
|
||||
- text
|
||||
- image
|
||||
- beforeafter
|
||||
- video
|
||||
# - horizontal-gallery
|
||||
- gallery
|
||||
metadataTab:
|
||||
label: Métadonnées
|
||||
icon: table
|
||||
fields:
|
||||
incidentDate:
|
||||
label: Date de l'incident
|
||||
type: date
|
||||
display: DD / MM / YYYY
|
||||
width: 1/4
|
||||
incidentLocation:
|
||||
label: Lieu de l'incident
|
||||
type: text
|
||||
width: 1/4
|
||||
incidentCountry:
|
||||
label: Pays de l'incident
|
||||
type: multiselect
|
||||
options: query
|
||||
query: page('database').countries.split
|
||||
width: 1/4
|
||||
incidentConsequences:
|
||||
label: Conséquence(s)
|
||||
type: text
|
||||
width: 1/4
|
||||
keywords:
|
||||
label: Mots-clés
|
||||
type: multiselect
|
||||
options: query
|
||||
query: page('database').keywords.split
|
||||
width: 1/4
|
||||
methodologies:
|
||||
label: Méthodologies
|
||||
options: query
|
||||
query: page('database').methodologies.split
|
||||
type: multiselect
|
||||
width: 1/4
|
||||
partners:
|
||||
label: Partenaires
|
||||
type: structure
|
||||
width: 1/4
|
||||
fields:
|
||||
name:
|
||||
label: Nom
|
||||
type: text
|
||||
link:
|
||||
label: Lien
|
||||
type: url
|
||||
team:
|
||||
label: Équipe Index
|
||||
type: multiselect
|
||||
options: query
|
||||
query: page('database').team.split
|
||||
width: 1/4
|
||||
seo: seo/page
|
||||
Loading…
Add table
Add a link
Reference in a new issue