Remove <li> element from template

This commit is contained in:
Rotorz Limited 2011-08-29 14:42:56 +02:00
parent 5fe8e7b980
commit d1635ea85b

View File

@ -1,29 +1,27 @@
<li>
<?js if (this.description) { ?>
<div class="param-desc">
<?js= description ?>
</div>
<?js } ?>
<?js
if (this.type && this.type.names) {
?>
<dl>
<dt>
Type
</dt>
<dd>
<?js
var typeNames = this.type.names;
typeNames.forEach(function(name, i) {
?>
<span class="param-type"><?js= linkto(name, htmlsafe(name)) ?></span> <?js if (i < typeNames.length-1) print('|'); ?>
<?js
});
?>
</dd>
</dl>
<?js
}
?>
</li>
<?js if (this.description) { ?>
<div class="param-desc">
<?js= description ?>
</div>
<?js } ?>
<?js
if (this.type && this.type.names) {
?>
<dl>
<dt>
Type
</dt>
<dd>
<?js
var typeNames = this.type.names;
typeNames.forEach(function(name, i) {
?>
<span class="param-type"><?js= linkto(name, htmlsafe(name)) ?></span> <?js if (i < typeNames.length-1) print('|'); ?>
<?js
});
?>
</dd>
</dl>
<?js
}
?>