Skip to content

Commit

Permalink
Merge pull request #937 from danskernesdigitalebibliotek/DDFFORM-417-…
Browse files Browse the repository at this point in the history
…display-opening-hours

DDFFORM 417 display opening hours
  • Loading branch information
LasseStaus authored Apr 5, 2024
2 parents 2022a70 + 29c79fc commit cb85988
Show file tree
Hide file tree
Showing 12 changed files with 874 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 20cff0b7-b0d1-406c-8d70-960e540aa306
langcode: en
status: true
dependencies:
config:
- paragraphs.paragraphs_type.opening_hours
id: paragraph.opening_hours.default
targetEntityType: paragraph
bundle: opening_hours
mode: default
content: { }
hidden:
search_api_excerpt: true
50 changes: 50 additions & 0 deletions config/sync/field.field.node.article.field_paragraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- node.type.article
- paragraphs.paragraphs_type.campaign_rule
- paragraphs.paragraphs_type.event_ticket_category
- paragraphs.paragraphs_type.opening_hours
module:
- entity_reference_revisions
id: node.article.field_paragraphs
Expand All @@ -25,21 +26,70 @@ settings:
target_bundles:
campaign_rule: campaign_rule
event_ticket_category: event_ticket_category
opening_hours: opening_hours
negate: 1
target_bundles_drag_drop:
accordion:
weight: 22
enabled: false
campaign_rule:
weight: 2
enabled: true
card_grid_automatic:
weight: 24
enabled: false
card_grid_manual:
weight: 25
enabled: false
content_slider:
weight: 26
enabled: false
event_ticket_category:
weight: 7
enabled: true
files:
weight: 28
enabled: false
hero:
weight: 29
enabled: false
language_selector:
weight: 30
enabled: false
links:
weight: 8
enabled: false
material_grid_automatic:
weight: 32
enabled: false
material_grid_manual:
weight: 33
enabled: false
medias:
weight: 9
enabled: false
nav_grid_manual:
weight: 35
enabled: false
nav_spots_manual:
weight: 36
enabled: false
opening_hours:
weight: 37
enabled: true
recommendation:
weight: 38
enabled: false
text_body:
weight: 4
enabled: false
user_registration_item:
weight: 40
enabled: false
user_registration_section:
weight: 41
enabled: false
video:
weight: 42
enabled: false
field_type: entity_reference_revisions
35 changes: 35 additions & 0 deletions config/sync/field.field.node.page.field_paragraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- node.type.page
- paragraphs.paragraphs_type.campaign_rule
- paragraphs.paragraphs_type.event_ticket_category
- paragraphs.paragraphs_type.opening_hours
module:
- entity_reference_revisions
id: node.page.field_paragraphs
Expand All @@ -25,8 +26,12 @@ settings:
target_bundles:
campaign_rule: campaign_rule
event_ticket_category: event_ticket_category
opening_hours: opening_hours
negate: 1
target_bundles_drag_drop:
accordion:
weight: 22
enabled: false
campaign_rule:
weight: 2
enabled: true
Expand All @@ -45,15 +50,45 @@ settings:
files:
weight: 16
enabled: false
hero:
weight: 29
enabled: false
language_selector:
weight: 30
enabled: false
links:
weight: 8
enabled: false
material_grid_automatic:
weight: 32
enabled: false
material_grid_manual:
weight: 33
enabled: false
medias:
weight: 9
enabled: false
nav_grid_manual:
weight: 35
enabled: false
nav_spots_manual:
weight: 36
enabled: false
opening_hours:
weight: 37
enabled: true
recommendation:
weight: 38
enabled: false
text_body:
weight: 4
enabled: false
user_registration_item:
weight: 40
enabled: false
user_registration_section:
weight: 41
enabled: false
video:
weight: 20
enabled: false
Expand Down
12 changes: 12 additions & 0 deletions config/sync/paragraphs.paragraphs_type.opening_hours.yml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/cms-api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Model/DplOpeningHoursGET200Response.php
Model/DplOpeningHoursGETRequest.php
Model/DplOpeningHoursGETRequestCategory.php
Model/DplOpeningHoursCreatePOSTRequest.php
Model/DplOpeningHoursListGET200ResponseInner.php
Model/DplOpeningHoursListGET200ResponseInnerCategory.php
README.md
Service/JmsSerializer.php
Service/SerializerInterface.php
Expand Down
Loading

0 comments on commit cb85988

Please sign in to comment.