Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/composer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
# Ignore abandoned packages until https://www.drupal.org/project/drupal/issues/3550917
steps:
- uses: actions/checkout@v4
- run: |
docker network create frontend
- run: |
docker compose run --rm phpfpm composer audit --locked
docker compose run --rm phpfpm composer audit --locked --abandoned=ignore
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
* Update user permissions
* Add access restrictions on unpublished comments
* Override default dialogue form
* Add promoted content feature
* Updated Drupal core 10.5.2 => 10.5.6

* [PR-555](https://github.com/itk-dev/deltag.aarhus.dk/pull/555)
* Add underline to active navigation.
Expand Down
1,095 changes: 570 additions & 525 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,14 @@ content:
settings: { }
third_party_settings: { }
field_dialogue_proposal_category:
type: options_buttons
type: entity_reference_autocomplete
weight: 29
region: content
settings: { }
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_dialogue_proposal_config:
type: options_buttons
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: bbfd582d-56e2-4f35-95ec-7a50b5cbf301
langcode: da
status: true
dependencies:
config:
- field.field.paragraph.aktuelt_i_projektet.field_promoted_content
- paragraphs.paragraphs_type.aktuelt_i_projektet
id: paragraph.aktuelt_i_projektet.default
targetEntityType: paragraph
bundle: aktuelt_i_projektet
mode: default
content:
field_promoted_content:
type: entity_reference_autocomplete
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
uuid: 95a74d8a-3742-40cd-8624-d8d6e55ffca8
langcode: da
status: true
dependencies:
config:
- core.entity_view_mode.node.content_promoted
- field.field.node.dialogue.field_area
- field.field.node.dialogue.field_content_sections
- field.field.node.dialogue.field_department
- field.field.node.dialogue.field_dialogue_proposal_category
- field.field.node.dialogue.field_dialogue_proposal_config
- field.field.node.dialogue.field_dialogue_proposal_location
- field.field.node.dialogue.field_dialogue_proposal_zoom
- field.field.node.dialogue.field_teaser
- field.field.node.dialogue.field_top_images
- field.field.node.dialogue.field_type
- node.type.dialogue
module:
- entity_reference_revisions
- user
id: node.dialogue.content_promoted
targetEntityType: node
bundle: dialogue
mode: content_promoted
content:
field_area:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 3
region: content
field_content_sections:
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 5
region: content
field_department:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 2
region: content
field_teaser:
type: basic_string
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_top_images:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: full
link: false
third_party_settings: { }
weight: 0
region: content
field_type:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 4
region: content
hidden:
field_dialogue_proposal_category: true
field_dialogue_proposal_config: true
field_dialogue_proposal_location: true
field_dialogue_proposal_zoom: true
langcode: true
links: true
published_at: true
search_api_excerpt: true
sharing_buttons: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: b8bc4240-1cc1-48c7-bd5d-3306170a0459
langcode: da
status: true
dependencies:
config:
- field.field.paragraph.aktuelt_i_projektet.field_promoted_content
- paragraphs.paragraphs_type.aktuelt_i_projektet
id: paragraph.aktuelt_i_projektet.default
targetEntityType: paragraph
bundle: aktuelt_i_projektet
mode: default
content:
field_promoted_content:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: content_promoted
link: false
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true
11 changes: 11 additions & 0 deletions config/sync/core.entity_view_mode.node.content_promoted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: a4068ae9-cfe2-4489-8713-ac15abb6a8ab
langcode: da
status: true
dependencies:
module:
- node
id: node.content_promoted
label: 'Content promoted'
description: ''
targetEntityType: node
cache: true
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ settings:
sort:
field: name
direction: asc
auto_create: false
auto_create: true
auto_create_bundle: ''
field_type: entity_reference
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ dependencies:
config:
- field.storage.node.field_content_sections
- node.type.project_main_page
- paragraphs.paragraphs_type.accordion
- paragraphs.paragraphs_type.aktuelt_i_projektet
- paragraphs.paragraphs_type.content_block
- paragraphs.paragraphs_type.files
- paragraphs.paragraphs_type.image
Expand Down Expand Up @@ -37,14 +39,28 @@ settings:
introduction: introduction
teaser_row: teaser_row
files: files
aktuelt_i_projektet: aktuelt_i_projektet
accordion: accordion
negate: 0
target_bundles_drag_drop:
accordion:
weight: 21
enabled: true
accordion_item:
weight: 22
enabled: false
aktuelt_i_projektet:
weight: 20
enabled: true
content_block:
weight: -21
enabled: true
content_list:
weight: -20
enabled: false
content_promotion:
weight: 25
enabled: false
files:
weight: 13
enabled: true
Expand All @@ -57,6 +73,12 @@ settings:
introduction:
weight: -17
enabled: true
link:
weight: 30
enabled: false
links_on_a_background_image:
weight: 31
enabled: false
projekt_billede_galleri:
weight: -16
enabled: false
Expand All @@ -75,4 +97,7 @@ settings:
timeline_period:
weight: -13
enabled: false
video:
weight: 38
enabled: false
field_type: entity_reference_revisions
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: d09c8a2a-1783-41f1-b39a-640b3ecb310a
langcode: da
status: true
dependencies:
config:
- field.storage.paragraph.field_promoted_content
- node.type.dialogue
- paragraphs.paragraphs_type.aktuelt_i_projektet
id: paragraph.aktuelt_i_projektet.field_promoted_content
field_name: field_promoted_content
entity_type: paragraph
bundle: aktuelt_i_projektet
label: 'Promoted content'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
dialogue: dialogue
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
20 changes: 20 additions & 0 deletions config/sync/field.storage.paragraph.field_promoted_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 5c6db4e5-b615-4ec4-9abf-0c335609e3d0
langcode: da
status: true
dependencies:
module:
- node
- paragraphs
id: paragraph.field_promoted_content
field_name: field_promoted_content
entity_type: paragraph
type: entity_reference
settings:
target_type: node
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
10 changes: 10 additions & 0 deletions config/sync/paragraphs.paragraphs_type.aktuelt_i_projektet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
uuid: eccf676c-bbf7-439a-923e-29f094d6cbf5
langcode: da
status: true
dependencies: { }
id: aktuelt_i_projektet
label: 'Aktuelt i projektet'
icon_uuid: null
icon_default: null
description: 'Promote a specific activity in the project.'
behavior_plugins: { }
43 changes: 43 additions & 0 deletions config/sync/views.view.content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- field.storage.node.field_department
- node.type.dialogue
- node.type.dialogue_proposal
- node.type.hearing
- node.type.landing_page
- node.type.page_map
Expand Down Expand Up @@ -565,6 +566,48 @@ display:
expose:
operator_limit_selection: false
operator_list: { }
type_1:
id: type_1
table: node_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: 'not in'
value:
dialogue_proposal: dialogue_proposal
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
filter_groups:
operator: AND
groups:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
.dawa-autocomplete-container {
/* relative position for at de absolut positionerede forslag får korrekt placering.*/
position: relative;
width: 100%;
}

.dawa-autocomplete-container input {
/* Både input og forslag får samme bredde som omkringliggende DIV */
width: 100%;
box-sizing: border-box;
}
Expand Down Expand Up @@ -52,7 +50,7 @@
}

.field--type-hoeringsportal-data-map {
// Don't show "Aktiver kort" above menubar (which has z-index: 502).
/* Don't show "Aktiver kort" above menubar (which has z-index: 502). */
.widget-container.widget-inactivemap > .widget-map-overlay {
z-index: 500;
}
Expand Down
Loading
Loading