mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-23 07:01:24 +01:00
Fix for empty dropdown #522
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -127,7 +127,6 @@
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if admin.multilang %}
|
||||
<div class="button-group">
|
||||
<button type="button" class="button disabled">
|
||||
@@ -135,6 +134,7 @@
|
||||
{% set langName = admin.siteLanguages[admin_lang] %}
|
||||
{{ langName[:1]|upper ~ langName[1:] }}
|
||||
</button>
|
||||
{% if admin.languages_enabled|length > 1 %}
|
||||
<button type="button" class="button dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-caret-down"></i>
|
||||
</button>
|
||||
@@ -146,7 +146,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user