diff --git a/CHANGELOG.md b/CHANGELOG.md index 2506c255..04eb2536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ * Fixed UI issue with Backup / Update buttons positioning * Tweaked placeholders color in login/new user panels [#542](https://github.com/getgrav/grav-plugin-admin/issues/542) 1. [](#bugfix) - * + * Fix for showing empty drop-down with only one supported language [#522](https://github.com/getgrav/grav-plugin-admin/issues/522) # v1.1.0-beta.2 ## 04/27/2016 diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index 1816a8ab..d2ac706f 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -127,7 +127,6 @@ {% endif %} - {% if admin.multilang %}
+ {% if admin.languages_enabled|length > 1 %} @@ -146,7 +146,7 @@ {% endif %} {% endfor %} - + {% endif %}
{% endif %}