Skip to content

Commit

Permalink
Merge pull request #399 from itk-dev/feature/project-page-subpage
Browse files Browse the repository at this point in the history
project page subpage
  • Loading branch information
yepzdk authored Apr 17, 2024
2 parents 25514b6 + c4221a2 commit afbc3ab
Show file tree
Hide file tree
Showing 79 changed files with 1,049 additions and 890 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html).

* [PR-398](https://github.com/itk-dev/hoeringsportal/pull/398)
Added Deskpro test data
* [pr-399](https://github.com/itk-dev/hoeringsportal/pull/399)
* Add content type Project subpage
* Update paragraphs for projects
* Add list view for project
* [pr-394](https://github.com/itk-dev/hoeringsportal/pull/394)
Add content type Project page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,16 @@ status: true
dependencies:
config:
- block_content.type.aside_link_box
- field.field.block_content.aside_link_box.body
- field.field.block_content.aside_link_box.field_color
- field.field.block_content.aside_link_box.field_link
- field.field.block_content.aside_link_box.field_title
module:
- allowed_formats
- link
- maxlength
- text
id: block_content.aside_link_box.default
targetEntityType: block_content
bundle: aside_link_box
mode: default
content:
body:
type: text_textarea_with_summary
weight: 2
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_summary: null
maxlength_js_label_summary: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
field_color:
type: options_select
weight: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ status: true
dependencies:
config:
- entity_browser.browser.itk_image_browser
- field.field.node.project_main_page.body
- field.field.node.project_main_page.field_area
- field.field.node.project_main_page.field_aside_block
- field.field.node.project_main_page.field_content_sections
- field.field.node.project_main_page.field_project_category
- field.field.node.project_main_page.field_project_image
- field.field.node.project_main_page.field_short_description
- node.type.project_main_page
Expand All @@ -28,7 +27,7 @@ third_party_settings:
label: 'Project area'
region: content
parent_name: ''
weight: 5
weight: 4
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -43,28 +42,9 @@ targetEntityType: node
bundle: project_main_page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_summary: null
maxlength_js_label_summary: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
created:
type: datetime_timestamp
weight: 10
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand All @@ -74,37 +54,39 @@ content:
region: content
settings: { }
third_party_settings: { }
field_aside_block:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 100
placeholder: ''
third_party_settings: { }
field_content_sections:
type: paragraphs
weight: 7
weight: 5
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
edit_mode: closed_expand_nested
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
add_mode: modal
form_display_mode: default
default_paragraph_type: ''
default_paragraph_type: _none
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_project_category:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 100
placeholder: ''
third_party_settings: { }
field_project_image:
type: entity_browser_entity_reference
weight: 2
weight: 3
region: content
settings:
entity_browser: itk_image_browser
Expand All @@ -119,7 +101,7 @@ content:
third_party_settings: { }
field_short_description:
type: text_textarea
weight: 1
weight: 2
region: content
settings:
rows: 5
Expand All @@ -134,40 +116,40 @@ content:
maxlength_js_enforce: false
langcode:
type: language_select
weight: 8
weight: 6
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 14
weight: 12
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 12
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
published_at:
type: publication_date_timestamp
weight: 11
weight: 9
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 16
weight: 14
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 13
weight: 11
region: content
settings:
display_label: true
Expand All @@ -186,7 +168,7 @@ content:
maxlength_js_enforce: false
uid:
type: entity_reference_autocomplete
weight: 9
weight: 7
region: content
settings:
match_operator: CONTAINS
Expand All @@ -195,7 +177,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 15
weight: 13
region: content
settings: { }
third_party_settings: { }
Expand Down
74 changes: 50 additions & 24 deletions config/sync/core.entity_form_display.node.project_page.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,84 +3,110 @@ langcode: da
status: true
dependencies:
config:
- field.field.node.project_page.body
- field.field.node.project_page.field_content_sections
- field.field.node.project_page.field_project_category
- node.type.project_page
module:
- maxlength
- paragraphs
- path
- publication_date
- text
id: node.project_page.default
targetEntityType: node
bundle: project_page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 121
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
field_content_sections:
type: paragraphs
weight: 2
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed_expand_nested
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: modal
form_display_mode: default
default_paragraph_type: _none
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_project_category:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 100
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
weight: 3
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
weight: 9
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
published_at:
type: publication_date_timestamp
weight: 10
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
weight: 11
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
size: 100
placeholder: ''
third_party_settings: { }
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
uid:
type: entity_reference_autocomplete
weight: 5
weight: 4
region: content
settings:
match_operator: CONTAINS
Expand All @@ -89,7 +115,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
weight: 10
region: content
settings: { }
third_party_settings: { }
Expand Down
Loading

0 comments on commit afbc3ab

Please sign in to comment.