Skip to content

Commit 9ed8db1

Browse files
authored
fix: Empty name on dashboard #1010 (#1011)
* fix: Empty name on dashboard #1010 * fix: formating
1 parent 1b19308 commit 9ed8db1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web/themes/default/page_dashboard.tpl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,13 @@
7777
<tr{if $dashboard_lognopopup} onclick="{$player.link_url}"{else} onclick="{$player.popup}"{/if} onmouseout="this.className='tbl_out'" onmouseover="this.className='tbl_hover'" style="cursor: pointer;" id="{$player.server}" title="Querying Server Data...">
7878
<td width="16" height="16" align="center" class="listtable_1"><i class="fas fa-ban fa-lg"></i></td>
7979
<td width="25%" height="16" class="listtable_1">{$player.date}</td>
80-
<td height="16" class="listtable_1">{$player.short_name|escape:'html'}</td>
80+
<td height="16" class="listtable_1">
81+
{if empty($player.short_name)}
82+
<i><font color="#677882">no nickname present</font></i>
83+
{else}
84+
<span>{$player.short_name|escape:'html'}</span>
85+
{/if}
86+
</td>
8187
</tr>
8288
{/foreach}
8389
</table>

0 commit comments

Comments
 (0)