add notifications field on each user blueprint

This commit is contained in:
isUnknown 2024-12-19 11:15:24 +01:00
parent caf6f721fb
commit 94c35eadaf
4 changed files with 48 additions and 50 deletions

View 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

View file

@ -3,49 +3,4 @@ description: Possède tous les droits et les accès, peut accéder à lensemb
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

View file

@ -13,5 +13,4 @@ fields:
label: Projets
type: pages
query: page('projects').children
notifications:
type: hidden
notifications: fields/notifications

View file

@ -19,5 +19,4 @@ fields:
type: pages
query: page('projects').children
width: 3/4
notifications:
type: hidden
notifications: fields/notifications