mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-23 17:53:24 +00:00
🛠 fix: Language detection
This commit is contained in:
6 files changed
+49
-9
No files matched your search
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
{% if not oauth2_request %}
|
||||
<button type="button" {% if available_languages|length == 1 %}disabled="true"{% endif %} class="btn btn-xs-lg btn-default pull-right dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="flag-icon flag-icon-{{ mailcow_locale }}"></span> <span class="caret"></span>
|
||||
<span class="flag-icon flag-icon-{{ mailcow_locale[-2:] }}"></span> <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right login">
|
||||
{% for key, val in available_languages %}
|
||||
|
||||
Reference in new issue
Block a user