18 lines
445 B
Cheetah
18 lines
445 B
Cheetah
|
<?js
|
||
|
var part = obj;
|
||
|
var self = this;
|
||
|
|
||
|
//console.log(part);
|
||
|
?>
|
||
|
|
||
|
<?js if(part.description) { ?>
|
||
|
<div class="description part bdotted"><?js= self.replace_enters_to_br(part.description) ?></div>
|
||
|
<?js } ?>
|
||
|
|
||
|
<?js if (part.examples && part.examples.length) { ?>
|
||
|
<div class="params-desc params-example bdotted part">
|
||
|
<div class="title">Examples: </div>
|
||
|
<?js= self.partial('examples.tmpl', part.examples) ?>
|
||
|
</div>
|
||
|
<?js } ?>
|