fix no name showing up if not logged in

This commit is contained in:
Zachary Kain 2013-03-19 00:09:06 -04:00
parent 915c86d8ba
commit 30b3b527a5

View file

@ -25,7 +25,7 @@
<avatar:>
<figure class="herobox"
data-name="{@profile.auth.local.username}"
data-name="{#if @profile.auth.local.username}{@profile.auth.local.username}{else}Anonymous{/}"
data-level="{@profile.stats.lvl}"
data-checkpet="{#if @profile.items.pet}hasPet{/}"
data-checkuser="{#if equal(@profile.id, _user.id)}isUser{/}"