<tal:block repeat="portlet options/portlets">
<div tal:attributes="id string:portletwrapper-${portlet/hash};
                     class string:portletWrapper kssattr-portlethash-${portlet/hash};"
     tal:content="structure python:view.safe_render(portlet['renderer'])" />
</tal:block>

<div class="managePortletsLink"
      i18n:domain="plone">
  <a title="View portlet management screen"
     tal:condition="view/can_manage_portlets"
     i18n:attributes="title"
     i18n:translate="manage_portlets_link"
     tal:attributes="href string:${view/base_url}/@@manage-portlets"
     >Manage portlets</a>
</div>
