finish author system
This commit is contained in:
parent
db8669d30d
commit
fe6e01acdf
38 changed files with 614 additions and 73 deletions
19
site/blueprints/pages/author.yml
Normal file
19
site/blueprints/pages/author.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
title: Auteur
|
||||
image: false
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
label: Contenu
|
||||
sections:
|
||||
presentationSection:
|
||||
type: fields
|
||||
fields:
|
||||
presentation:
|
||||
label: Présentation
|
||||
type: writer
|
||||
help: Optionnelle
|
||||
texts:
|
||||
label: Textes
|
||||
type: pages
|
||||
create: false
|
||||
query: page.getTexts()
|
||||
9
site/blueprints/pages/authors.yml
Normal file
9
site/blueprints/pages/authors.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
title: Auteurs
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
sections:
|
||||
authorsSection:
|
||||
label: Liste
|
||||
type: pages
|
||||
template: author
|
||||
26
site/blueprints/pages/email.yml
Normal file
26
site/blueprints/pages/email.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
title: Email
|
||||
status:
|
||||
draft: Brouillon
|
||||
listed: Envoyé
|
||||
image:
|
||||
back: black
|
||||
color: white
|
||||
icon: email
|
||||
options:
|
||||
changeStatus: false
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
fields:
|
||||
month:
|
||||
label: Mois
|
||||
type: date
|
||||
display: "mmmm YYYY"
|
||||
default: today
|
||||
width: 1/4
|
||||
sendBtn:
|
||||
type: send-button
|
||||
width: 1/4
|
||||
content:
|
||||
label: Contenu
|
||||
type: writer
|
||||
21
site/blueprints/pages/newsletter.yml
Normal file
21
site/blueprints/pages/newsletter.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
title: Liste de diffusion
|
||||
|
||||
tabs:
|
||||
content:
|
||||
columns:
|
||||
- width: 1/2
|
||||
fields:
|
||||
subscribers:
|
||||
label: Abonnés
|
||||
type: structure
|
||||
fields:
|
||||
email:
|
||||
type: email
|
||||
- width: 1/2
|
||||
sections:
|
||||
newsletters:
|
||||
label: Emails
|
||||
type: pages
|
||||
template: email
|
||||
info: "{{ page.month.toDate('M Y') }}"
|
||||
sortBy: month desc
|
||||
Loading…
Add table
Add a link
Reference in a new issue