mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 20:03:39 +08:00
UX: Format numbers on user summary page.
This commit is contained in:
parent
4895723f7b
commit
bddbfa56f6
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user