mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Users: Hide button to increase rating if display of rating is disabled in settings
Closes #504
This commit is contained in:
parent
f1d923f580
commit
c55bb779cc
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
|||
<div id="profile_link" style="width: 194px;">
|
||||
<a href="/edit" class="link">{_"edit_page"}</a>
|
||||
</div>
|
||||
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce']" id="profile_link" style="width: 194px;">
|
||||
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && !$thisUser->prefersNotToSeeRating()" id="profile_link" style="width: 194px;">
|
||||
<a onClick="showIncreaseRatingDialog({$thisUser->getCoins()}, {ltrim($thisUser->getUrl(), '/')}, {$csrfToken})" class="link">{_increase_rating}</a>
|
||||
</div>
|
||||
{else}
|
||||
|
|
Loading…
Reference in a new issue