mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-30 03:42:44 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
30 lines
675 B
Cheetah
30 lines
675 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>
|
|
<dt>
|
|
<dl>
|
|
<dt>
|
|
Type
|
|
</dt>
|
|
<dd>
|
|
<?js= this.partial('type.tmpl', data.type.names) ?>
|
|
</dd>
|
|
</dl>
|
|
</dt>
|
|
</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 } ?>
|