Remove empty <ul>

This commit is contained in:
Pierre Rudloff 2017-05-30 23:55:11 +02:00
parent dcface7775
commit 6087e90b67

View file

@ -4,12 +4,12 @@
{t}Share on Twitter{/t}<div class="twittermask"></div></a>
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={base_url|urlencode}" target="_blank">{t}Share on Facebook{/t}<div class="facebookmask"></div></a>
</div>
<ul class="locales">
{if isset($locales)}
{if isset($locales)}
<ul class="locales">
{foreach $locales as $supportedLocale}
<li><a href="{path_for name='locale' data=['locale'=>$supportedLocale->getIso15897()]}"><span class="flag-icon flag-icon-{$supportedLocale->getIso3166()}"></span> {$supportedLocale->getFullName()}</a></li>
{/foreach}
{/if}
</ul>
</ul>
{/if}
</header>
<div class="wrapper">