Skip to content

Commit

Permalink
Backport rev 26962
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Aug 9, 2004
1 parent fe74a7c commit ee6bfd2
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions classmodule/function_index.pt
@@ -0,0 +1,61 @@
<html metal:use-macro="views/apidoc_macros/details">
<body metal:fill-slot="contents">

<h1 class="details-header"
tal:content="context/getPath">
zope.app.function
</h1>

<h2 class="details-section" i18n:translate="">Signature</h2>

<div class="indent">
<b><code
tal:content="string:${context/zope:name}${context/getSignature}" />
</b>
</div>

<div tal:condition="context/getDocString">
<h2 class="details-section" i18n:translate="">Documentation String</h2>

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

<div
tal:define="attributes view/getAttributes"
tal:condition="attributes">

<h2 class="details-section" i18n:translate="">Attributes</h2>

<div class="indent">

<ul class="attr-list">

<li tal:repeat="attr attributes">
<b><code tal:content="attr/name">attr</code></b>
<tal:omit-tag condition="not: attr/type_link">
(<span i18n:translate="">type:</span>
<code tal:content="attr/type" />)
</tal:omit-tag>
<tal:omit-tag condition="attr/type_link">
(<span i18n:translate="">type:</span>
<a href=""
tal:attributes="href
string:${view/getBaseURL}/Class/${attr/type_link}/index.html">
<code tal:content="attr/type" /></a>)
</tal:omit-tag>
<br/>
<i i18n:translate="">Value:</i>
<code tal:content="attr/value">u''</code><br />
</li>

</ul>

</div>
</div>

</body>
</html>

0 comments on commit ee6bfd2

Please sign in to comment.