<tal:sections
     xmlns:tal="http://xml.zope.org/namespaces/tal"
     xmlns:metal="http://xml.zope.org/namespaces/metal"
     xmlns:i18n="http://xml.zope.org/namespaces/i18n"
     tal:define="portal_tabs view/portal_tabs"
     tal:condition="portal_tabs"
     i18n:domain="plone">

  <p class="hiddenStructure" i18n:translate="heading_sections">Navigation</p>
  <nav class="plone-navbar" id="portal-globalnav-wrapper">
    <div class="container">
      <div class="plone-collapse plone-navbar-collapse" id="portal-globalnav-collapse">
        <div class="globalnavClose">
          <button id="globalnav-close" aria-controls="portal-mainnavigation" aria-label="Esci dalla navigazione" title="Esci dalla navigazione">
            <span aria-hidden="true" class="icon" />
            <span class="sr-only">chiudi</span>
          </button>
        </div>
        <ul class="plone-nav plone-navbar-nav"
            id="portal-globalnav"
            tal:define="selected_tab python:view.selected_portal_tab">
            <tal:tabs tal:repeat="tab portal_tabs">
              <li tal:define="tid tab/id"
                  tal:attributes="id string:portaltab-${tid};
                                  class python:selected_tab==tid and 'selected' or nothing">
                  <a href=""
                     tal:content="tab/name"
                     tal:attributes="href tab/url;
                                     title tab/description|nothing;
                                     target tab/link_target|nothing;">
                    Tab Name
                  </a>
              </li>
            </tal:tabs>
        </ul>
      </div>
    </div>
  </nav>

</tal:sections>
