Merge pull request #658 from ArthurHoaro/hotfix/plugin-desc-bug

Bugfix: display plugin parameter description only if it exists
This commit is contained in:
VirtualTam 2016-10-16 16:37:46 +02:00 committed by GitHub
commit bb70e69059

View file

@ -105,7 +105,9 @@ <h2>{function="str_replace('_', ' ', $key)"}</h2>
<div class="float_label"> <div class="float_label">
<label for="{$key}"> <label for="{$key}">
<code>{$key}</code><br> <code>{$key}</code><br>
{$value.desc} {if="isset($value.desc)"}
{$value.desc}
{/if}
</label> </label>
</div> </div>
<div class="float_input"> <div class="float_input">