Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4901b1a
Added module and backend
martinyde Dec 10, 2025
ab9030d
Added module and backend
martinyde Dec 10, 2025
86ffa66
Added course content type
martinyde Dec 10, 2025
f583242
Added state and changed headers and teaser
martinyde Dec 16, 2025
194be6d
Added hide time functionality
martinyde Dec 16, 2025
c209f2e
Added hide time functionality
martinyde Dec 16, 2025
767e36f
Updated activities
martinyde Dec 17, 2025
875e8a5
CHanged teaser display
martinyde Dec 18, 2025
0c06533
Updated templates
martinyde Jan 5, 2026
8cebf74
Added template for public meeting
martinyde Jan 5, 2026
50d09fc
Updated config for activity
martinyde Jan 5, 2026
3a69e0f
Merge branch 'feature/translations-v2' into feature/activities
martinyde Jan 5, 2026
763000d
Translated labels
martinyde Jan 5, 2026
b09876c
Ignore default.services.yml for prettier check
martinyde Jan 5, 2026
cec342b
Merge branch 'feature/translations-v2' into feature/activities
martinyde Jan 5, 2026
7249cb5
CHanged public meeting content type and display
martinyde Jan 7, 2026
c690af2
Applied coding standards
martinyde Jan 7, 2026
dbe0b0e
Updated activities
martinyde Jan 7, 2026
ab7a13a
Updated activities
martinyde Jan 7, 2026
5204cd2
Updated coding standards
martinyde Jan 7, 2026
0b643c7
Updated class
martinyde Jan 7, 2026
5893529
Updated translation
martinyde Jan 7, 2026
697f232
Updated config
martinyde Jan 7, 2026
977a36f
Updated translations
martinyde Jan 7, 2026
717e53c
Updated translations
martinyde Jan 7, 2026
450fc9f
CHanged translations
martinyde Jan 7, 2026
0e0c256
CHanged translations
martinyde Jan 7, 2026
176e89e
CHanged translations
martinyde Jan 7, 2026
b8736fe
CHanged translations
martinyde Jan 7, 2026
51b1826
CHanged translations
martinyde Jan 7, 2026
cc31af3
Update web/modules/custom/hoeringsportal_activity/src/Helper/Activity…
martinyde Jan 8, 2026
5a7116a
Update web/modules/custom/hoeringsportal_activity/assets/js/course-fo…
martinyde Jan 8, 2026
934297b
Update web/modules/custom/hoeringsportal_activity/src/Helper/Activity…
martinyde Jan 8, 2026
d442385
Update web/modules/custom/hoeringsportal_activity/templates/hoeringsp…
martinyde Jan 8, 2026
fdc980a
Updated theme translations
martinyde Jan 8, 2026
c84d9be
Added activity translation
martinyde Jan 8, 2026
b44da43
Changed stuff after code review
martinyde Jan 8, 2026
89e278a
Updated activity helper
martinyde Jan 8, 2026
4b35788
Updated activity helper
martinyde Jan 8, 2026
5faf571
Update web/modules/custom/hoeringsportal_activity/assets/js/course-fo…
martinyde Jan 8, 2026
d9ef87f
Updated hook setup
martinyde Jan 8, 2026
bc79f23
Updated helper
martinyde Jan 8, 2026
c34abe7
Updated phpstan neon
martinyde Jan 8, 2026
dfe8c33
Updated phpstan neon
martinyde Jan 8, 2026
e0203dc
Updated phpstan neon
martinyde Jan 8, 2026
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
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Ignore all Drupal config
config/
web/sites/default/default.services.yml
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

* [PR-586](https://github.com/itk-dev/hoeringsportal/pull/586)
* Added course content type
* Added activity wrapper for public_events and courses
* [PR-576](https://github.com/itk-dev/deltag.aarhus.dk/pull/576)
Updates translations and added translations handling to deployment
* [PR-584](https://github.com/itk-dev/deltag.aarhus.dk/pull/584)
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ includes:
TRANSLATION_MODULES:
# - aarhus_hero

- hoeringsportal_activity
- hoeringsportal_anonymous_edit
# - hoeringsportal_audit_log
# - hoeringsportal_base_fixtures
Expand Down
2 changes: 1 addition & 1 deletion config/sync/block.block.claro_primary_local_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Primary tabs'
label: 'Primære faner'
label_display: '0'
provider: core
primary: true
Expand Down
2 changes: 1 addition & 1 deletion config/sync/block.block.claro_secondary_local_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Secondary tabs'
label: 'Sekundære faner'
label_display: '0'
provider: core
primary: false
Expand Down
22 changes: 22 additions & 0 deletions config/sync/core.base_field_override.node.course.promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 4894f48a-6d54-4d11-8dbb-a256d556c544
langcode: da
status: true
dependencies:
config:
- node.type.course
id: node.course.promote
field_name: promote
entity_type: node
bundle: course
label: 'Promoted to front page'
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
209 changes: 209 additions & 0 deletions config/sync/core.entity_form_display.node.course.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
uuid: c2517b3e-d8f9-439b-be37-bb31651d27b6
langcode: da
status: true
dependencies:
config:
- entity_browser.browser.itk_image_browser
- field.field.node.course.field_activity_location
- field.field.node.course.field_activity_type
- field.field.node.course.field_address
- field.field.node.course.field_area
- field.field.node.course.field_content_sections
- field.field.node.course.field_content_state
- field.field.node.course.field_department
- field.field.node.course.field_first_meeting_time
- field.field.node.course.field_hide_time
- field.field.node.course.field_last_meeting_time
- field.field.node.course.field_map
- field.field.node.course.field_teaser
- field.field.node.course.field_top_images
- field.field.node.course.field_type
- node.type.course
module:
- datetime
- entity_browser
- field_group
- hoeringsportal_data
- paragraphs
third_party_settings:
field_group:
group_information:
children:
- field_first_meeting_time
- field_last_meeting_time
- field_hide_time
- field_department
- field_type
- field_area
label: Informationer
region: content
parent_name: ''
weight: 8
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: false
group_location:
children:
- field_activity_location
- field_address
label: Lokation
region: content
parent_name: ''
weight: 3
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: false
id: node.course.default
targetEntityType: node
bundle: course
mode: default
content:
field_activity_location:
type: string_textfield
weight: 4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_activity_type:
type: options_select
weight: 2
region: content
settings: { }
third_party_settings: { }
field_address:
type: string_textfield
weight: 5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_area:
type: options_buttons
weight: 16
region: content
settings: { }
third_party_settings: { }
field_content_sections:
type: paragraphs
weight: 6
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_department:
type: options_buttons
weight: 14
region: content
settings: { }
third_party_settings: { }
field_first_meeting_time:
type: datetime_default
weight: 11
region: content
settings: { }
third_party_settings: { }
field_hide_time:
type: boolean_checkbox
weight: 13
region: content
settings:
display_label: true
third_party_settings: { }
field_last_meeting_time:
type: datetime_default
weight: 12
region: content
settings: { }
third_party_settings: { }
field_map:
type: hoeringsportal_data_map_default
weight: 7
region: content
settings:
available_types:
point: point
localplanids: 0
localplanids_node: 0
third_party_settings: { }
field_teaser:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_top_images:
type: entity_browser_entity_reference
weight: 1
region: content
settings:
entity_browser: itk_image_browser
field_widget_display: rendered_entity
field_widget_edit: true
field_widget_remove: true
field_widget_replace: false
open: false
field_widget_display_settings:
view_mode: material_display
selection_mode: selection_append
third_party_settings: { }
field_type:
type: options_buttons
weight: 15
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
field_content_state: true
langcode: true
path: true
promote: true
published_at: true
sticky: true
uid: true
url_redirects: true
Loading
Loading