<div>
  <h3>Portlets defined in code</h3>
  <ul>
    <tal:block repeat="portlet python:here.get_all_portlets()">
    <li tal:condition="python: portlet.id not in here.objectIds()">
      <tal:block content="portlet/id" />
      <tt tal:define="p nocall:portlet/portlet/__class__"
          tal:content="python:'%r' % p"
          tal:on-error="string:" />
    </li>
    </tal:block>
  </ul>
</div>
