Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
SocialGouv
1000jours
les1000jours
Commits
ca1c6c8d
Unverified
Commit
ca1c6c8d
authored
Sep 27, 2021
by
Adrien Risser
Committed by
GitHub
Sep 27, 2021
Browse files
feat(evenements): Ajoute les liens vers articles, documents et types de POIs (#712)
parent
c86f0de6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
7 deletions
+35
-7
back/strapi/api/article/models/article.settings.js
back/strapi/api/article/models/article.settings.js
+4
-0
back/strapi/api/cartographie-types/models/cartographie-types.settings.json
...artographie-types/models/cartographie-types.settings.json
+5
-4
back/strapi/api/etape/models/etape.settings.json
back/strapi/api/etape/models/etape.settings.json
+2
-2
back/strapi/api/evenement/models/evenement.settings.json
back/strapi/api/evenement/models/evenement.settings.json
+15
-0
back/strapi/api/parentheque-documents/models/parentheque-documents.settings.json
...eque-documents/models/parentheque-documents.settings.json
+9
-1
No files found.
back/strapi/api/article/models/article.settings.js
View file @
ca1c6c8d
...
...
@@ -104,6 +104,10 @@ module.exports = {
type
:
"
boolean
"
,
default
:
false
,
},
evenements
:
{
via
:
"
articles
"
,
collection
:
"
evenement
"
,
},
},
collectionName
:
"
articles
"
,
info
:
{
...
...
back/strapi/api/cartographie-types/models/cartographie-types.settings.json
View file @
ca1c6c8d
...
...
@@ -20,10 +20,7 @@
},
"categorie"
:
{
"type"
:
"enumeration"
,
"enum"
:
[
"structure"
,
"professionnel"
],
"enum"
:
[
"structure"
,
"professionnel"
],
"required"
:
true
},
"description"
:
{
...
...
@@ -36,6 +33,10 @@
},
"thematiques"
:
{
"collection"
:
"thematique"
},
"evenements"
:
{
"via"
:
"types_poi"
,
"collection"
:
"evenement"
}
}
}
back/strapi/api/etape/models/etape.settings.json
View file @
ca1c6c8d
...
...
@@ -32,8 +32,8 @@
"via"
:
"etapes"
},
"evenements"
:
{
"
collection"
:
"evenement
"
,
"
via"
:
"etapes
"
"
via"
:
"etapes
"
,
"
collection"
:
"evenement
"
},
"ordre"
:
{
"type"
:
"integer"
...
...
back/strapi/api/evenement/models/evenement.settings.json
View file @
ca1c6c8d
...
...
@@ -33,6 +33,21 @@
"thematique"
:
{
"model"
:
"thematique"
,
"via"
:
"evenements"
},
"articles"
:
{
"collection"
:
"article"
,
"via"
:
"evenements"
,
"dominant"
:
true
},
"documents"
:
{
"collection"
:
"parentheque-documents"
,
"via"
:
"evenements"
,
"dominant"
:
true
},
"types_poi"
:
{
"collection"
:
"cartographie-types"
,
"via"
:
"evenements"
,
"dominant"
:
true
}
}
}
back/strapi/api/parentheque-documents/models/parentheque-documents.settings.json
View file @
ca1c6c8d
...
...
@@ -18,7 +18,11 @@
"type"
:
"text"
},
"fichier"
:
{
"allowedTypes"
:
[
"images"
,
"files"
,
"videos"
],
"allowedTypes"
:
[
"images"
,
"files"
,
"videos"
],
"model"
:
"file"
,
"plugin"
:
"upload"
,
"required"
:
true
,
...
...
@@ -32,6 +36,10 @@
"thematique"
:
{
"model"
:
"thematique"
,
"via"
:
"parentheque_documents"
},
"evenements"
:
{
"via"
:
"documents"
,
"collection"
:
"evenement"
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment