UX: Format numbers on user summary page.

This commit is contained in:
Guo Xiang Tan 2016-09-23 12:21:42 +08:00
parent 4895723f7b
commit bddbfa56f6
1 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@
target='_blank'>
{{shorten-url link.url}}
</a>
<span class='badge badge-notification clicks' title='{{i18n 'topic_map.clicks' count=link.clicks}}'>{{link.clicks}}</span>
<span class='badge badge-notification clicks' title='{{i18n 'topic_map.clicks' count=link.clicks}}'>{{number link.clicks}}</span>
<br>
<a href="{{unbound link.post_url}}">{{{link.topic.fancyTitle}}}</a>
</li>
@ -102,7 +102,7 @@
<li>
{{#user-info user=user}}
{{fa-icon "reply"}}
<span class='replies'>{{user.count}}</span>
<span class='replies'>{{number user.count}}</span>
{{/user-info}}
</li>
{{/each}}
@ -122,7 +122,7 @@
<li>
{{#user-info user=user}}
{{fa-icon "heart"}}
<span class='likes'>{{user.count}}</span>
<span class='likes'>{{number user.count}}</span>
{{/user-info}}
</li>
{{/each}}
@ -139,7 +139,7 @@
<li>
{{#user-info user=user}}
{{fa-icon "heart"}}
<span class='likes'>{{user.count}}</span>
<span class='likes'>{{number user.count}}</span>
{{/user-info}}
</li>
{{/each}}