Skip to content

Commit dd94778

Browse files
authored
Add missing help-discover template to base theme (#1968)
The /authentication/idp/help-discover route was throwing a generic exception for any theme other than openconext because the template only existed in theme/openconext/ but not in theme/base/ as a fallback. The Twig @theme namespace resolves active theme first, then falls back to base — adding the template there fixes the broken help button on the WAYF screen for all non-openconext themes. Fixes #1881
1 parent e8725a9 commit dd94778

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% extends '@themeLayouts/scripts/default.html.twig' %}
2+
3+
{% block title %}{{ parent() }} - {{ 'help_header'|trans }}{% endblock %}
4+
5+
{% block content %}
6+
<main class="box">
7+
<div class="mod-content">
8+
<h1>{{ 'help_header'|trans }}</h1>
9+
{{ 'help_page_content'|trans|raw }}
10+
</div>
11+
</main>
12+
{% endblock %}

0 commit comments

Comments
 (0)