From bddbfa56f6a7527ba8301a5b388fac6ef7a85ffd Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 23 Sep 2016 12:21:42 +0800 Subject: [PATCH] UX: Format numbers on user summary page. --- .../javascripts/discourse/templates/user/summary.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user/summary.hbs b/app/assets/javascripts/discourse/templates/user/summary.hbs index ebb483b7814..065455510b6 100644 --- a/app/assets/javascripts/discourse/templates/user/summary.hbs +++ b/app/assets/javascripts/discourse/templates/user/summary.hbs @@ -84,7 +84,7 @@ target='_blank'> {{shorten-url link.url}} - {{link.clicks}} + {{number link.clicks}}
{{{link.topic.fancyTitle}}} @@ -102,7 +102,7 @@
  • {{#user-info user=user}} {{fa-icon "reply"}} - {{user.count}} + {{number user.count}} {{/user-info}}
  • {{/each}} @@ -122,7 +122,7 @@
  • {{#user-info user=user}} {{fa-icon "heart"}} - + {{/user-info}}
  • {{/each}} @@ -139,7 +139,7 @@
  • {{#user-info user=user}} {{fa-icon "heart"}} - + {{/user-info}}
  • {{/each}}