mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
Global: Don't show votes-balance noticebox to people who don't have votes
This commit is contained in:
parent
be6a6610b1
commit
c88cfcf314
1 changed files with 2 additions and 2 deletions
|
@ -187,9 +187,9 @@
|
||||||
<a n:foreach="$thisUser->getPinnedClubs() as $club" href="{$club->getURL()}" class="link group_link">{$club->getName()}</a>
|
<a n:foreach="$thisUser->getPinnedClubs() as $club" href="{$club->getURL()}" class="link group_link">{$club->getName()}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce']" id="votesBalance">
|
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && $thisUser->getCoins() != 0" id="votesBalance">
|
||||||
{tr("you_still_have_x_points", $thisUser->getCoins())|noescape}
|
{tr("you_still_have_x_points", $thisUser->getCoins())|noescape}
|
||||||
<br/><br/>
|
<br /><br />
|
||||||
|
|
||||||
<a href="/settings?act=finance">{_top_up_your_account} »</a>
|
<a href="/settings?act=finance">{_top_up_your_account} »</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue