<html metal:use-macro="views/apidoc_macros/details"
    i18n:domain="zope">
<body metal:fill-slot="contents"
      tal:define="iface view/getInterface;
                  rootURL iface/apidocRoot">

  <h1 class="details-header">
    <a href=""
       tal:attributes="
           href string:$rootURL/Interface/${iface/getId}/index.html"
       tal:content="iface/getId" /> <br />
    <tal:block i18n:translate="">(Name: "<span
        tal:replace="view/getName" i18n:name="name" />")</tal:block>
  </h1>

  <div class="indent"
       tal:define="component view/getComponent"
       tal:condition="component">
    <h3>
      <span i18n:translate="">Component:</span>
      <a href=""
         tal:attributes="href
             string:$rootURL/${component/url}/index.html"
         tal:content="component/path"
         tal:condition="component/url" />
      <span tal:replace="component/path"
            tal:condition="not: component/url" />
    </h3>
  </div>

  <div class="indent">
    <div class="documentation" tal:content="structure iface/getDoc">
      Here is the doc string
    </div>
  </div>

  <tal:block define="attributes iface/getAttributes;
                     fields iface/getFields">
    <metal:block use-macro="context/@@interface_macros/attributes_fields" />
  </tal:block>

  <tal:block define="methods iface/getMethods">
    <metal:block use-macro="context/@@interface_macros/methods" />
  </tal:block>

</body>
</html>
