initi.doc/templates/initi/tmpl/members/main.tmpl
2018-10-10 14:00:35 +03:00

28 lines
734 B
Cheetah

<?js
var data = obj;
var self = this;
//console.log("MEMBERS", data);
?>
<div class="parameter part bdotted">
<?js if(data.description) { ?>
<div class="desc bdotted"><?js= self.replace_enters_to_br(data.description) ?></div>
<?js } ?>
<div class="head bdotted part">
<span class="access">(<?js= data.access ?>)</span>
<span class="name"><?js= data.name ?></span>
<?js if(data.type) { ?>
<div class="type off-font ib">
<span class="left-circle-bracket">(</span>
<span class="name"><?js= self.linkto(data.type.names[0]) ?></span>
<span class="right-circle-bracket">)</span>
</div>
<?js } ?>
</div>
</div>