Skip to content

Commit

Permalink
fix: Empty name on dashboard #1010 (#1011)
Browse files Browse the repository at this point in the history
* fix: Empty name on dashboard #1010

* fix: formating
  • Loading branch information
Rushaway authored Nov 16, 2024
1 parent 1b19308 commit 9ed8db1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/themes/default/page_dashboard.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@
<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...">
<td width="16" height="16" align="center" class="listtable_1"><i class="fas fa-ban fa-lg"></i></td>
<td width="25%" height="16" class="listtable_1">{$player.date}</td>
<td height="16" class="listtable_1">{$player.short_name|escape:'html'}</td>
<td height="16" class="listtable_1">
{if empty($player.short_name)}
<i><font color="#677882">no nickname present</font></i>
{else}
<span>{$player.short_name|escape:'html'}</span>
{/if}
</td>
</tr>
{/foreach}
</table>
Expand Down

0 comments on commit 9ed8db1

Please sign in to comment.