Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |