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>
|
</div>
|
||||||
{if isset($supportedLocales)}
|
{if isset($supportedLocales)}
|
||||||
<div class="locales">
|
<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">
|
<ul class="supportedLocales">
|
||||||
{foreach $supportedLocales as $supportedLocale}
|
{foreach $supportedLocales as $supportedLocale}
|
||||||
{if $supportedLocale != $locale}
|
{if $supportedLocale != $locale}
|
||||||
|
|
Loading…
Reference in a new issue