{extends "[shared]block.sections.tpl"}

{block "tpl_vars"}
   {$hide_virtual = true}
{/block}

{block "sidesection-extra"}
   {if in_array($item.id, [1540, 1541])}
      <li class="nav-item">
         <a href="{url s=category IDcat=3}" class="nav-link">
            {t}Do bytu{/t}
         </a>
      </li>
   {/if}

   {$smarty.block.parent}
{/block}

{block "navitem-append"}
   {if $item.level == 1 and $item@last and $item.parent.id == 1}
      {insert_menu menu_id=2 template="block.menu.left_sections.tpl" gender="female" skip_cache=1}
   {/if}

   {if $item.level == 1 and $item@last and $item.parent.id == 2}
      {insert_menu menu_id=3 template="block.menu.left_sections.tpl"  gender="male" skip_cache=1}
   {/if}
{/block}
