Skip to content
Snippets Groups Projects
Commit 020dfce0 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

fallback to authsource id if the authsource has a name but not in current language

parent 52941ca4
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
<li class="pure-menu-item">
<a href="{{ moduleURL('core/login/' ~ id|url_encode) }}" class="pure-menu-link">
{% if config.name is defined %}
{{ config.name|translateFromArray }}
{{ config.name|translateFromArray|default(id) }}
{% else %}
{{ id }}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment