initi.doc/templates/initi/tmpl/custom.tmpl

17 lines
290 B
Cheetah

<?js
var data = obj;
var self = this;
?>
<style>
div#main section {
display: none;
}
</style>
<?js= self.partial('mainpage/each.tmpl', self.cusomData[data.subkind]) ?>
<?js if (data.kind === 'package') { ?>
<h3><?js= data.name ?> <?js= data.version ?></h3>
<?js } ?>