diff options
Diffstat (limited to 'templates/html/htmltypeconstraints.tpl')
-rw-r--r-- | templates/html/htmltypeconstraints.tpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/html/htmltypeconstraints.tpl b/templates/html/htmltypeconstraints.tpl new file mode 100644 index 0000000..12c9581 --- /dev/null +++ b/templates/html/htmltypeconstraints.tpl @@ -0,0 +1,13 @@ +{# obj should be a class or member #} +{% if obj.typeConstraints|length>0 %} + <div class="typecontraint"> + <dl><dt><b>{{ tr.typeConstraints }}</b></dt> + <dd><table border="0" cellspacing="2" cellpadding="0"> + {% for arg in obj.typeConstraints %} + <tr><td valign="top"><em>{{ arg.name }}</em></td> + <td> </td><td valign="top"><em>{{ arg.type }}</em></td> + <td> </td><td>{{ arg.docs }}</td> + </tr> + {% endfor %} + </table></dl></div> +{% endif %} |