diff --git a/back/strapi/api/article/models/article.settings.js b/back/strapi/api/article/models/article.settings.js index e7b3945e8..4eb19ab1c 100644 --- a/back/strapi/api/article/models/article.settings.js +++ b/back/strapi/api/article/models/article.settings.js @@ -5,6 +5,11 @@ const enBrefIconeType = { module.exports = { attributes: { + cartographie_pois_types: { + collection: "cartographie-types", + dominant: true, + via: "articles", + }, enbref_1_icone: enBrefIconeType, enbref_1_texte: { default: "", @@ -25,6 +30,14 @@ module.exports = { dominant: true, via: "articles", }, + evenements: { + collection: "evenement", + via: "articles", + }, + handicap: { + default: false, + type: "boolean", + }, le_saviez_vous: { default: "", type: "text", @@ -61,34 +74,21 @@ module.exports = { default: "", type: "string", }, + mots_cles: { + default: "", + type: "text", + }, notifications: { default: false, type: "boolean", }, - evenements: { - collection: "evenement", - via: "articles", - }, ordre: { type: "integer", }, - cartographie_pois_types: { - collection: "cartographie-types", - dominant: true, - via: "articles", - }, - handicap: { - default: false, - type: "boolean", - }, resume: { required: true, type: "text", }, - mots_cles: { - default: "", - type: "text", - }, texte_1: { default: "", type: "richtext", @@ -121,6 +121,10 @@ module.exports = { required: true, via: "related", }, + zero_accident: { + default: false, + type: "boolean", + }, }, collectionName: "articles", info: {