33 lines
703 B
Cheetah
33 lines
703 B
Cheetah
<?js
|
|
var data = obj;
|
|
?>
|
|
<?js if (data.description && data.type && data.type.names) { ?>
|
|
<dl>
|
|
<dt>
|
|
<div class="param-desc">
|
|
<?js= data.description ?>
|
|
</div>
|
|
</dt>
|
|
<dd></dd>
|
|
<dt>
|
|
<dl>
|
|
<dt>
|
|
Type
|
|
</dt>
|
|
<dd>
|
|
<?js= this.partial('type.tmpl', data.type.names) ?>
|
|
</dd>
|
|
</dl>
|
|
</dt>
|
|
<dd></dd>
|
|
</dl>
|
|
<?js } else { ?>
|
|
<div class="param-desc">
|
|
<?js if (data.description) { ?>
|
|
<?js= data.description ?>
|
|
<?js } else if (data.type && data.type.names) { ?>
|
|
<?js= this.partial('type.tmpl', data.type.names) ?>
|
|
<?js } ?>
|
|
</div>
|
|
<?js } ?>
|