Commit 1b84850c authored by ancoats's avatar ancoats
Browse files

Add Collectives prompt to homepage and fine-tune field configuration

parent 1e5f5c2d
......@@ -58,7 +58,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: null
......@@ -67,7 +67,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
-
......
......@@ -67,7 +67,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: null
......@@ -76,7 +76,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: callToAction
......
contentColumnType: text
fieldGroup: a5c5fb6f-2af0-48d9-a6ca-08b38ff4d2ca
handle: promptCollectives
instructions: ''
name: Collectives
searchable: false
settings:
availableTransforms: '*'
availableVolumes: '*'
cleanupHtml: true
columnType: text
configSelectionMode: choose
defaultTransform: ''
manualConfig: ''
purifierConfig: ''
purifyHtml: '1'
redactorConfig: Prompt.json
removeEmptyTags: '1'
removeInlineStyles: '1'
removeNbsp: '1'
showHtmlButtonForNonAdmins: ''
showUnpermittedFiles: false
showUnpermittedVolumes: false
uiMode: enlarged
translationKeyFormat: null
translationMethod: site
type: craft\redactor\Field
......@@ -3,7 +3,7 @@ fieldGroup: a5c5fb6f-2af0-48d9-a6ca-08b38ff4d2ca
handle: promptConstitution
instructions: ''
name: 'Our constitution'
searchable: true
searchable: false
settings:
availableTransforms: '*'
availableVolumes: '*'
......@@ -18,9 +18,9 @@ settings:
removeEmptyTags: '1'
removeInlineStyles: '1'
removeNbsp: '1'
showHtmlButtonForNonAdmins: true
showHtmlButtonForNonAdmins: ''
showUnpermittedFiles: false
showUnpermittedVolumes: true
showUnpermittedVolumes: false
uiMode: enlarged
translationKeyFormat: null
translationMethod: language
......
contentColumnType: text
fieldGroup: a5c5fb6f-2af0-48d9-a6ca-08b38ff4d2ca
handle: promptLocalGroup
handle: promptLocalGroups
instructions: ''
name: 'Local group'
searchable: true
name: 'Local groups'
searchable: false
settings:
availableTransforms: '*'
availableVolumes: '*'
......@@ -18,9 +18,9 @@ settings:
removeEmptyTags: '1'
removeInlineStyles: '1'
removeNbsp: '1'
showHtmlButtonForNonAdmins: true
showHtmlButtonForNonAdmins: ''
showUnpermittedFiles: false
showUnpermittedVolumes: true
showUnpermittedVolumes: false
uiMode: enlarged
translationKeyFormat: null
translationMethod: language
......
......@@ -3,7 +3,7 @@ fieldGroup: a5c5fb6f-2af0-48d9-a6ca-08b38ff4d2ca
handle: promptStarterPack
instructions: ''
name: 'Starter Pack'
searchable: true
searchable: false
settings:
availableTransforms: '*'
availableVolumes: '*'
......@@ -18,9 +18,9 @@ settings:
removeEmptyTags: '1'
removeInlineStyles: '1'
removeNbsp: '1'
showHtmlButtonForNonAdmins: true
showHtmlButtonForNonAdmins: ''
showUnpermittedFiles: false
showUnpermittedVolumes: true
showUnpermittedVolumes: false
uiMode: enlarged
translationKeyFormat: null
translationMethod: language
......
......@@ -35,7 +35,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -44,7 +44,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
-
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: discourse
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: gitbook
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: glassfrog
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: googleDrive
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: mattermost
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: newsletter
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: openCollective
......
......@@ -3,6 +3,15 @@ fieldLayouts:
tabs:
-
elements:
-
fieldUid: 9e78fa3b-3a7b-4142-ac35-f4b2182b1041
instructions: ''
label: ''
required: '1'
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
-
fieldUid: 2396af92-dec3-4deb-8b26-c5c0caf9a7e3
instructions: null
......
......@@ -31,7 +31,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: 1609b55d-86e9-4989-b64d-76c8e1583f59
instructions: ''
......@@ -40,7 +40,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
handle: rebelsManager
......
......@@ -30,7 +30,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
-
fieldUid: c115b20e-1925-4471-a78b-ab6dc3f2fcaf
instructions: null
......@@ -39,7 +39,7 @@ fieldLayouts:
tip: null
type: craft\fieldlayoutelements\CustomField
warning: null
width: 100
width: 50
name: Content
sortOrder: 1
fields:
......
dateModified: 1615024749
dateModified: 1615025192
email:
fromEmail: it@extinctionrebellion.be
fromName: 'Extinction Rebellion Belgium'
......
......@@ -86,14 +86,22 @@
users: queryLocalGroups.all(),
heading: 'Join a local group'|t
} %}
{% if prompts.promptLocalGroup %}
{% if prompts.promptLocalGroups %}
{% include '_partials/components/shared/prompt.twig' with {
promptContent: prompts.promptLocalGroup
promptContent: prompts.promptLocalGroups
} %}
{% endif %}
</div>
</section>
<section class="c-panel u-background-color-blue-baby" id="section-collectives">
{% include '_partials/components/template-page-home/list-collectives.twig' %}
<div class="container">
{% include '_partials/components/template-page-home/list-collectives.twig' %}
{% if prompts.promptCollectives %}
{% include '_partials/components/shared/prompt.twig' with {
promptContent: prompts.promptCollectives,
promptType: 'warning'
} %}
{% endif %}
</div>
</section>
{% endblock %}
......@@ -9,9 +9,9 @@
{% include '_partials/components/shared/list-local-groups.twig' with {
users: queryLocalGroups.all()
} %}
{% if prompts.promptLocalGroup %}
{% if prompts.promptLocalGroups %}
{% include '_partials/components/shared/prompt.twig' with {
promptContent: prompts.promptLocalGroup
promptContent: prompts.promptLocalGroups
} %}
{% endif %}
</div>
......
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