only show exp-chart if _user.history.exp

This commit is contained in:
Tyler Renelle 2012-07-06 22:20:36 -04:00
parent e43cede165
commit 5fefd4df2b

View file

@ -18,7 +18,9 @@
</div>
<div class="progress progress-warning">
<span class="progress-text"><a x-bind=click:toggleExpChart><i class=icon-signal></i></a> Exp: {round(_user.exp)} / {_tnl}</span>
{#if _user.history.exp}
<span class="progress-text"><a x-bind=click:toggleExpChart><i class=icon-signal></i></a> Exp: {round(_user.exp)} / {_tnl}</span>
{/}
<div class="bar" style="width: {percent(_user.exp,_tnl)}%;"></div>
</div>