Fix tests
This commit is contained in:
parent
f6a04458e7
commit
c9c3988b91
1 changed files with 7 additions and 1 deletions
|
@ -6,7 +6,13 @@
|
|||
</div>
|
||||
{if isset($supportedLocales)}
|
||||
<div class="locales">
|
||||
<button class="localesBtn" title="{t}Switch language{/t}">{$locale->getCountry()->getEmoji()}</button>
|
||||
<button class="localesBtn" title="{t}Switch language{/t}">
|
||||
{if isset($locale)}
|
||||
{$locale->getCountry()->getEmoji()}
|
||||
{else}
|
||||
Set language
|
||||
{/if}
|
||||
</button>
|
||||
<ul class="supportedLocales">
|
||||
{foreach $supportedLocales as $supportedLocale}
|
||||
{if $supportedLocale != $locale}
|
||||
|
|
Loading…
Reference in a new issue