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