Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 28, 2018 09:52
Show Gist options
  • Save ItsReaSz/63342ff40fb0b8401cd48e4b5b370f4e to your computer and use it in GitHub Desktop.
Save ItsReaSz/63342ff40fb0b8401cd48e4b5b370f4e to your computer and use it in GitHub Desktop.
{
"template": "containers/global/layout/layout.html.twig",
"name": {
"en-GB": "Procurement and award notices"
},
"description": {
"en-GB": "Container with a list of procurement and award notices, and links to procedures and conditions"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "",
"control": "project/trailer_inside"
},
"divider": {
"value": "",
"control": "project/divider"
},
"container_tag": {
"value": "div",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"layout": {
"value": "layout",
"control": "core/hidden"
},
"show_secondary_first": {
"value": 0,
"control": "core/hidden"
},
"show_divider": {
"value": 0,
"control": "core/hidden"
},
"show_narrow": {
"value": 0,
"control": "core/hidden"
},
"vertical_alignment": {
"value": "",
"control": "core/hidden"
},
"show_outer_wing": {
"value": 0,
"control": "core/hidden"
},
"show_wings": {
"value": 0,
"control": "core/hidden"
}
}
}
},
"containers": [
{
"template": "containers/global/layout/layout.html.twig",
"name": {
"en-GB": "Layout"
},
"description": {
"en-GB": ""
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"layout": {
"value": "layout layout--split layout--reverse",
"control": "core/hidden"
},
"show_divider": {
"value": 1,
"control": "core/hidden"
},
"show_wings": {
"value": 2,
"control": "core/hidden"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Award notices"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/opportunities/short-list-award-notices/short-list-award-notices.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"articleType": {
"value": "tender_award_notice",
"control": "project/model/article_type"
},
"limit": {
"value": "5",
"control": "project/model/limit"
},
"data": {
"control": "project/model/articles",
"value": {
"adapter": "SCR",
"model": "articles"
}
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"value": {
"en-GB": "Award notices",
"fr-FR": "Procurements"
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
},
"link": {
"value": {
"label": {
"en-GB": "See all award notices",
"fr-FR": "See all award notices"
},
"page": "working-with-cta/award-notices",
"id": ""
},
"label": {
"en-GB": "Link"
},
"control": "core/route"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"show_title": {
"value": 1,
"label": {
"en-GB": "Show title"
},
"control": "project/show"
},
"show_link": {
"value": 1,
"label": {
"en-GB": "Show link"
},
"control": "project/show"
},
"show_lead_image": {
"value": 0,
"control": "core/hidden"
},
"show_stand_first": {
"value": 0,
"control": "core/hidden"
},
"show_publication_date": {
"value": 1,
"control": "core/hidden"
},
"show_author_name": {
"value": 1,
"control": "core/hidden"
},
"show_read_more": {
"value": 0,
"control": "core/hidden"
},
"show_topic": {
"value": 1,
"control": "core/hidden"
},
"show_publication": {
"value": 1,
"control": "core/hidden"
}
}
}
},
"frontender": "708915600290e887fc121c9d791b2187"
},
{
"name": {
"en-GB": "Procurements"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/opportunities/short-list-procurements/short-list-procurements.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"articleType": {
"value": "tender",
"control": "project/model/article_type"
},
"limit": {
"value": "3",
"control": "project/model/limit"
},
"data": {
"control": "project/model/articles",
"value": {
"adapter": "SCR",
"model": "articles"
}
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"value": {
"en-GB": "Procurements",
"fr-FR": "Procurements"
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
},
"link": {
"value": {
"label": {
"en-GB": "View archive",
"fr-FR": "View archive"
},
"page": "working-with-cta/procurements-archive",
"id": ""
},
"label": {
"en-GB": "Link"
},
"control": "core/route"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"show_title": {
"value": 1,
"label": {
"en-GB": "Show title"
},
"control": "project/show"
},
"show_looper": {
"value": 0,
"label": {
"en-GB": "Show linked title"
},
"control": "project/show"
}
}
}
},
"frontender": "120922dcc1e5ca80681f87531942b708"
}
],
"frontender": "9f54f53007656d905532479dd297baf4"
},
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Sidebar content"
},
"description": {
"en-GB": ""
},
"template_config": {
"config": {}
},
"containers": [
{
"name": {
"en-GB": "Contract awarding procedures"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/opportunities/contract-awarding-procedures/contract-awarding-procedures-snippet.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"analysis": {
"value": "true",
"control": "core/hidden"
},
"data": {
"control": "project/model/article",
"value": {
"adapter": "SCR",
"model": "articles",
"id": "ab903292-b219-40a8-9712-fec319dcb8b8"
}
}
}
}
},
"frontender": "3f8b2af016e0caa5aa2f32ea018d2239"
},
{
"name": {
"en-GB": "Contract conditions"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/opportunities/contract-conditions/contract-conditions-snippet.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"analysis": {
"value": "true",
"control": "core/hidden"
},
"data": {
"control": "project/model/article",
"value": {
"adapter": "SCR",
"model": "articles",
"id": "04e71f7f-8554-48ad-944c-6610a2101da7"
}
}
}
}
},
"frontender": "fdfb1ff032ab26dfbd7a22d296488e93"
}
],
"frontender": "48da41473b035b28955f1b2269ff9128"
}
],
"frontender": "2e64c264cac6ee3258009b2e160e71c4"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment