Improve language switcher

This commit is contained in:
Pierre Rudloff 2017-06-01 10:59:37 +02:00
parent 72edcf8f78
commit f6a04458e7
2 changed files with 19 additions and 8 deletions

View file

@ -6,7 +6,7 @@
</div>
{if isset($supportedLocales)}
<div class="locales">
<a href="#" class="localesBtn">{$locale->getCountry()->getEmoji()}</a>
<button class="localesBtn" title="{t}Switch language{/t}">{$locale->getCountry()->getEmoji()}</button>
<ul class="supportedLocales">
{foreach $supportedLocales as $supportedLocale}
{if $supportedLocale != $locale}