Fix #1904 hide parentheses and comma if addon author info is not available

This commit is contained in:
Kijin Sung 2022-03-22 00:01:00 +09:00
parent 048ba47499
commit 03d456c674

View file

@ -16,7 +16,10 @@
<th class="nowr">{$lang->author}</th>
<td>
<block loop="$addon_info->author => $author">
{$author->name} (<a cond="$author->homepage" href="{$author->homepage}" target="_blank">{$author->homepage}</a>, <a cond="$author->email_address" href="mailto:{$author->email_address}">{$author->email_address}</a>) <br />
{$author->name}&nbsp;
<a cond="$author->homepage" href="{$author->homepage}" target="_blank">{$author->homepage}</a>
<a cond="$author->email_address" href="mailto:{$author->email_address}">{$author->email_address}</a>
<br />
</block>
</td>
</tr>