Hide language switcher if only one locale is supported

This commit is contained in:
Pierre Rudloff 2017-06-01 23:45:35 +02:00
parent b14df412c1
commit 2e93ab867c

View file

@ -1,5 +1,5 @@
<header> <header>
{if isset($supportedLocales)} {if isset($supportedLocales) AND count($supportedLocales) > 1}
<div class="locales small-font"> <div class="locales small-font">
<button class="localesBtn small-font" title="{t}Switch language{/t}"> <button class="localesBtn small-font" title="{t}Switch language{/t}">
{if isset($locale)} {if isset($locale)}