program - calendar filters working
This commit is contained in:
parent
a2fd20c1cc
commit
3d24e61e12
4 changed files with 42 additions and 41 deletions
|
|
@ -164,7 +164,16 @@ tabs:
|
|||
label: Réglages
|
||||
icon: cog
|
||||
fields:
|
||||
color: fields/color
|
||||
category:
|
||||
label: Catégorie
|
||||
type: select
|
||||
width: 1/4
|
||||
options:
|
||||
type: query
|
||||
query: page.parent.parent.categories.split
|
||||
color:
|
||||
extends: fields/color
|
||||
width: 3/4
|
||||
mapadoLine:
|
||||
type: line
|
||||
isMapadoEvent:
|
||||
|
|
|
|||
|
|
@ -13,9 +13,18 @@ tabs:
|
|||
contentTab:
|
||||
label: Calendrier
|
||||
icon: calendar
|
||||
sections:
|
||||
seasons:
|
||||
label: Saisons
|
||||
type: pages
|
||||
template: season
|
||||
info: "{{ page.children.count }} événements"
|
||||
columns:
|
||||
- width: 1/2
|
||||
fields:
|
||||
categories:
|
||||
label: Catégories d'événement
|
||||
type: tags
|
||||
max: 5
|
||||
help: Permet aux visiteurs de filtrer les événements du [programme](/programme).
|
||||
- width: 1/2
|
||||
sections:
|
||||
seasons:
|
||||
label: Saisons
|
||||
type: pages
|
||||
template: season
|
||||
info: "{{ page.children.count }} événements"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue