Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 09:14
Show Gist options
  • Save ItsReaSz/0f43a55af670a5bd68bbbc96a4cb7407 to your computer and use it in GitHub Desktop.
Save ItsReaSz/0f43a55af670a5bd68bbbc96a4cb7407 to your computer and use it in GitHub Desktop.
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Four columns of opportunity short-lists"
},
"description": {
"en-GB": "Container with four channel columns, each containing a list of opportunities"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"wings": {
"value": "wings",
"control": "project/wings"
},
"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_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Container header"
},
"description": {
"en-GB": "Container-header"
},
"template": "containers/global/container-header/container-header.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Content"
},
"controls": {
"container_title": {
"value": {
"en-GB": "Title",
"fr-FR": "Tître"
},
"label": {
"en-GB": "Container title"
},
"control": "core/text"
},
"link": {
"value": {
"label": {
"en-GB": "",
"fr-FR": ""
},
"page": "",
"id": ""
},
"label": {
"en-GB": "Link"
},
"control": "core/route"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"show_margins": {
"value": "",
"control": "project/layout/show_margins"
},
"show_smaller_title": {
"value": 0,
"label": {
"en-GB": "Show small title"
},
"control": "core/boolean"
},
"show_tools": {
"value": "",
"label": {
"en-GB": "Show filters"
},
"control": "core/list",
"options": [
{
"value": "",
"label": {
"en-GB": "No"
}
},
{
"value": "container-header--filter",
"label": {
"en-GB": "Yes"
}
}
]
},
"show_link": {
"value": 1,
"label": {
"en-GB": "Show link"
},
"control": "core/boolean"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"containers": [],
"frontender": "b402200f76c72571863bc7a113714b27"
},
{
"name": {
"en-GB": "Channel grid"
},
"description": {
"en-GB": ""
},
"template": "containers/global/channels/channels.html.twig",
"template_config": {
"content": {
"label": {
"en-GB": "Content Setting"
},
"controls": {
"display_type": {
"value": "post",
"label": {
"en-GB": "Display article as"
},
"options": [
{
"value": "post",
"label": {
"en-GB": "Post"
}
},
{
"value": "row",
"label": {
"en-GB": "Row"
}
}
],
"control": "core/list"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "div",
"control": "project/container_tag"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/opportunities/short-list/short-list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"articleType": {
"value": "vacancy",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
}
},
"frontender": "0c2f9f2b96a29a41e4854ca16c73e957"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/opportunities/short-list/short-list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"articleType": {
"value": "internship",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
}
},
"frontender": "e510f22d92e9af2b2cfc3e06182f0b10"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/opportunities/short-list/short-list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"articleType": {
"value": "call_for_tender",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
}
},
"frontender": "12eb85b736ee3668f2c122e035ff0232"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/opportunities/short-list/short-list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"articleType": {
"value": "call_for_proposal",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
}
},
"frontender": "52330cef4b6a0e8f5aada3c965d80246"
}
],
"frontender": "99adc6a49374e4d7e1593eafc29908d9"
}
],
"frontender": "627eff1194cdb6c61eb56e07e92750dc"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment