mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
parent
00fac4fe66
commit
2c118e3179
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@
|
|||
<div n:if="isset($thisUser) && !$thisUser->prefersNotToSeeRating()" class="profile-hints">
|
||||
{var completeness = $user->getProfileCompletenessReport()}
|
||||
|
||||
<div n:class="completeness-gauge, $completeness->total >= 100 ? completeness-gauge-gold">
|
||||
<div style="width: {$completeness->percent}%;"></div>
|
||||
<div class="completeness-gauge {if $completeness->total >= 100}completeness-gauge-gold{/if}">
|
||||
<div style="width: {if ($completeness->total >= 100)}{round(($completeness->total / 10**strlen(strval($completeness->total))) * 100, 0)}{else}{$completeness->percent}{/if}%"></div>
|
||||
<span>{$completeness->total}%</span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue