Background
Currently, the “Tilmelding”/"Ansøgning" button shown at the top of the content types “Undervisnings- og læringsforløb”, “Kurser”, "Erhvervspraktik" and "Juniormesterlære" only appears in the frontend if there is content in the field group “Tilmelding”/"Ansøgning". This leads to a workaround where editors must enter dummy content just to trigger the button.
We want to decouple the visibility of the button from the presence of content in the “Tilmelding”/"Ansøgning" field group. Instead, the button should be displayed automatically when Pretix is configured for the given content.
This ensures a more robust and semantically correct setup, where the button reflects actual registration availability rather than placeholder content.
Acceptance Criteria
The “Tilmelding”/"Ansøgning" button is displayed in the frontend for:
“Undervisnings- og læringsforløb”
“Kurser”
"Erhvervspraktik"
"Juniormesterlære"
when Pretix is configured for the specific item.
- The button visibility is not dependent on any content being present in the “Tilmelding”/"Ansøgning" field group.
- If Pretix is configured, the “Tilmelding”/"Ansøgning" button must be displayed.
- The solution must work consistently across all relevant display modes/templates used for these content types.
Assumptions / Prerequisites
No response
Implementation Breakdown
No response
Test Description
No response
Risks and Risk Assessment
No response
Not included
No response
Design
No response
Data foundation
No response
Notes
No response
Background
Currently, the “Tilmelding”/"Ansøgning" button shown at the top of the content types “Undervisnings- og læringsforløb”, “Kurser”, "Erhvervspraktik" and "Juniormesterlære" only appears in the frontend if there is content in the field group “Tilmelding”/"Ansøgning". This leads to a workaround where editors must enter dummy content just to trigger the button.
We want to decouple the visibility of the button from the presence of content in the “Tilmelding”/"Ansøgning" field group. Instead, the button should be displayed automatically when Pretix is configured for the given content.
This ensures a more robust and semantically correct setup, where the button reflects actual registration availability rather than placeholder content.
Acceptance Criteria
The “Tilmelding”/"Ansøgning" button is displayed in the frontend for:
“Undervisnings- og læringsforløb”
“Kurser”
"Erhvervspraktik"
"Juniormesterlære"
when Pretix is configured for the specific item.
Assumptions / Prerequisites
No response
Implementation Breakdown
No response
Test Description
No response
Risks and Risk Assessment
No response
Not included
No response
Design
No response
Data foundation
No response
Notes
No response