<div id="workspace-leader-wrapper"
     tal:define="
       infographic view/infographic_with_links;
       hotspot_mapping view/hotspot_mapping;
     "
>
  <figure id="workspace-leader"
          tal:condition="infographic"
  >
    <tal:infographic replace="structure infographic" />
    <figcaption tal:condition="here/infographic_image_description">
        ${here/infographic_image_description}
    </figcaption>
  </figure>
  <ul hidden>
    <li>
      <a class="pat-forward on-hotspot-clicked"
         data-pat-forward="selector: #workspace-tabs &gt; .extra-tabs &gt; .documents"
      >Hotspot Clicked</a>
    </li>
    <li tal:repeat="hotspot hotspot_mapping">
      <tal:hotspot define="
                     obj nocall:hotspot_mapping/?hotspot;
                     is_folder python: obj.portal_type == 'Folder';
                     folder python: obj if is_folder else obj.aq_parent;
                   ">
        <a class="on-hotspot-${hotspot}-clicked pat-inject"
           href="${obj/absolute_url}/view#document-body"
           tal:condition="not:is_folder"
        >${obj/Title}</a>
        <a class="on-hotspot-${hotspot}-clicked pat-inject"
           href="${folder/absolute_url}/@@sidebar.documents#workspace-documents"
        >${obj/Title} sidebar</a>
      </tal:hotspot>
    </li>
  </ul>
  <a class="pat-inject on-infographic-change hidden"
     href="${here/absolute_url}/@@workspace-leader#workspace-leader-wrapper"
     style="display: none"
  ></a>
</div>
