Newer
Older
<div class="topbar template-columns">
<div class="template-column topbar-left hide-on-mobile">
{locale group="quiqqer/template-cologne" var="template.topbar.content.left"}
</div>
<div class="topbar-right template-column">
{* product search *}
<div class="template-search">
{$Search->create()}
</div>
{* language & currency switch *}
{if $Template->getAttribute('showTopbarLanguageSwitch')}

Michael Danielczok
committed
{control control="\QUI\Bricks\Controls\LanguageSwitches\DropDown" showArrow=false}

Michael Danielczok
committed
{/if}
{* Show separator only if both controls are enabled *}
{if $Template->getAttribute('showTopbarLanguageSwitch') && $Template->getAttribute('showTopbarCurrencySwitch')}

Michael Danielczok
committed
<span class="tobpar--separator"></span>

Michael Danielczok
committed
{/if}
{if $Template->getAttribute('showTopbarCurrencySwitch')}

Michael Danielczok
committed
{control control="QUI\TemplateCologne\Controls\CurrencySwitch"}
{/if}

Michael Danielczok
committed
{* END language & currency switch *}
<div class="cologne-header-control-user">
{if $User->getId()}
{$Avatar->create()}
{else}
<span class="fa fa-user-o round-icon"
title="{locale group='quiqqer/template-cologne' var='template.login'}"></span>
{/if}
<span class="cologne-header-control-user-loader">
<span class="fa fa-pulse fa-circle-o-notch"></span>