add notifications field on each user blueprint
This commit is contained in:
parent
caf6f721fb
commit
94c35eadaf
4 changed files with 48 additions and 50 deletions
45
public/site/blueprints/fields/notifications.yml
Normal file
45
public/site/blueprints/fields/notifications.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
label: Notifications
|
||||
type: structure
|
||||
fields:
|
||||
type:
|
||||
type: text
|
||||
disabled: true
|
||||
location:
|
||||
type: object
|
||||
fields:
|
||||
page:
|
||||
type: object
|
||||
fields:
|
||||
label: Page d'origine
|
||||
disabled: true
|
||||
title:
|
||||
type: text
|
||||
uri:
|
||||
disabled: true
|
||||
type: text
|
||||
project:
|
||||
label: Projet correspondant
|
||||
type: object
|
||||
fields:
|
||||
title:
|
||||
disabled: true
|
||||
type: text
|
||||
uri:
|
||||
disabled: true
|
||||
type: text
|
||||
author:
|
||||
label: Auteur
|
||||
type: object
|
||||
fields:
|
||||
name:
|
||||
label: Nom
|
||||
disabled: true
|
||||
type: text
|
||||
email:
|
||||
type: email
|
||||
disabled: true
|
||||
date:
|
||||
type: hidden
|
||||
isread:
|
||||
type: toggle
|
||||
disabled: true
|
||||
|
|
@ -3,49 +3,4 @@ description: Possède tous les droits et les accès, peut accéder à l’ensemb
|
|||
home: /panel/pages/projects
|
||||
|
||||
fields:
|
||||
notifications:
|
||||
label: Notifications
|
||||
type: structure
|
||||
fields:
|
||||
type:
|
||||
type: text
|
||||
disabled: true
|
||||
location:
|
||||
type: object
|
||||
fields:
|
||||
page:
|
||||
type: object
|
||||
fields:
|
||||
label: Page d'origine
|
||||
disabled: true
|
||||
title:
|
||||
type: text
|
||||
uri:
|
||||
disabled: true
|
||||
type: text
|
||||
project:
|
||||
label: Projet correspondant
|
||||
type: object
|
||||
fields:
|
||||
title:
|
||||
disabled: true
|
||||
type: text
|
||||
uri:
|
||||
disabled: true
|
||||
type: text
|
||||
author:
|
||||
label: Auteur
|
||||
type: object
|
||||
fields:
|
||||
name:
|
||||
label: Nom
|
||||
disabled: true
|
||||
type: text
|
||||
email:
|
||||
type: email
|
||||
disabled: true
|
||||
date:
|
||||
type: hidden
|
||||
isread:
|
||||
type: toggle
|
||||
disabled: true
|
||||
notifications: fields/notifications
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@ fields:
|
|||
label: Projets
|
||||
type: pages
|
||||
query: page('projects').children
|
||||
notifications:
|
||||
type: hidden
|
||||
notifications: fields/notifications
|
||||
|
|
|
|||
|
|
@ -19,5 +19,4 @@ fields:
|
|||
type: pages
|
||||
query: page('projects').children
|
||||
width: 3/4
|
||||
notifications:
|
||||
type: hidden
|
||||
notifications: fields/notifications
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue