Commit b085bcee authored by Elena Grassi's avatar Elena Grassi
Browse files

[WGN] fixed config for LF entities relationships

parent fd8cf3de
......@@ -272,6 +272,14 @@
"label": "REL_GROUP_OF_LABEL",
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL"
},
"LF_INITIATIVES": {
"slug": "location",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "REL_LOCATION_LABEL",
"childrenLabel": "REL_LOCATION_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"slug": "location",
"field": "issue_of",
......@@ -380,6 +388,14 @@
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL",
"bounded": true
},
"LF_INITIATIVES": {
"slug": "location",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "REL_LOCATION_LABEL",
"childrenLabel": "REL_LOCATION_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"slug": "location",
"field": "issue_of",
......@@ -518,6 +534,14 @@
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL",
"bounded": true
},
"LF_INITIATIVES": {
"slug": "location",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "REL_LOCATION_LABEL",
"childrenLabel": "REL_LOCATION_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"slug": "location",
"field": "issue_of",
......@@ -640,6 +664,14 @@
"exclude": true,
"check": "membership"
},
"LF_INITIATIVES": {
"slug": "location",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "REL_LOCATION_LABEL",
"childrenLabel": "REL_LOCATION_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"slug": "location",
"field": "issue_of",
......
This diff is collapsed.
......@@ -237,12 +237,12 @@
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"LF_INITIATIVES": {
"slug": "location",
"field": "issue_of",
"relation": "imcissues",
"label": "IMC_RELATION_LABEL",
"childrenLabel": "IMC_RELATION_CHILD_LABEL",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "LF_LOCATION_LABEL",
"childrenLabel": "LF_LOCATION_CHILD_LABEL",
"bounded": true
}
}
......@@ -341,12 +341,12 @@
"label": "REL_GROUP_OF_LABEL",
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL"
},
"IMC_ISSUES": {
"LF_INITIATIVES": {
"slug": "location",
"field": "issue_of",
"relation": "imcissues",
"label": "IMC_RELATION_LABEL",
"childrenLabel": "IMC_RELATION_CHILD_LABEL",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "IMC_LOCATION_LABEL",
"childrenLabel": "IMC_LOCATION_CHILD_LABEL",
"bounded": true
}
}
......@@ -449,12 +449,12 @@
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"LF_INITIATIVES": {
"slug": "location",
"field": "issue_of",
"relation": "imcissues",
"label": "IMC_RELATION_LABEL",
"childrenLabel": "IMC_RELATION_CHILD_LABEL",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "LF_LOCATION_LABEL",
"childrenLabel": "LF_LOCATION_CHILD_LABEL",
"bounded": true
}
}
......@@ -587,12 +587,12 @@
"childrenLabel": "REL_GROUP_OF_CHILD_LABEL",
"bounded": true
},
"IMC_ISSUES": {
"LF_INITIATIVES": {
"slug": "location",
"field": "issue_of",
"relation": "imcissues",
"label": "IMC_RELATION_LABEL",
"childrenLabel": "IMC_RELATION_CHILD_LABEL",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "LF_LOCATION_LABEL",
"childrenLabel": "LF_LOCATION_CHILD_LABEL",
"bounded": true
}
}
......@@ -709,12 +709,12 @@
"exclude": true,
"check": "membership"
},
"IMC_ISSUES": {
"LF_INITIATIVES": {
"slug": "location",
"field": "issue_of",
"relation": "imcissues",
"label": "IMC_RELATION_LABEL",
"childrenLabel": "IMC_RELATION_CHILD_LABEL",
"field": "initiative_of",
"relation": "lfinitiatives",
"label": "LF_LOCATION_LABEL",
"childrenLabel": "LF_LOCATION_CHILD_LABEL",
"bounded": true
}
},
......@@ -744,13 +744,13 @@
]
},
{
"name": "IMC_NAME",
"id": 101,
"icon": "ion-alert",
"slug": "imc",
"url": "imc",
"key": "IMC_ISSUES",
"index": 7,
"name": "LF_NAME",
"id": 100,
"icon": "ion-android-add",
"slug": "lf",
"url": "lf",
"key": "LF_INITIATIVES",
"index": 52,
"show_author": false,
"shape": "circle",
"properties": {
......@@ -765,8 +765,8 @@
"valid_from":{ "key": "valid_from", "label": "STARTDATE_LABEL","placeholder":"STARTDATE_PLACEHOLDER", "default":null,"advanced":true,"is_editable":true},
"valid_to":{ "key": "valid_to", "label": "ENDDATE_LABEL","placeholder":"ENDDATE_PLACEHOLDER", "default":null,"advanced":true,"is_editable":true}
},
"relations": {}
}
"relations": {}
}
],
"categories": [
{
......@@ -1239,14 +1239,18 @@
"IMC_NAME": "IMC",
"OPENIN": "Visita in",
"IMC_RELATION_LABEL": "Segnalato in",
"IMC_RELATION_CHILD_LABEL": "Segnalazione"
"IMC_RELATION_CHILD_LABEL": "Segnalazione",
"LF_RELATION_LABEL": "Discusso in",
"LF_RELATION_CHILD_LABEL": "Iniziativa"
},
"en": {
"LF_NAME": "LF",
"IMC_NAME": "IMC",
"OPENIN": "Open in",
"IMC_RELATION_LABEL": "Issued in",
"IMC_RELATION_CHILD_LABEL": "Issue"
"IMC_RELATION_CHILD_LABEL": "Issue",
"LF_RELATION_LABEL": "Discussed in",
"LF_RELATION_CHILD_LABEL": "Initiative"
}
}
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment