From e4e74c5fbbbbc76ac7d70ecc6628f1485d3863ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 4 Apr 2016 11:42:38 +0200 Subject: [PATCH] UX: use 'number' helper when displaying the number of replies in a topic --- .../discourse/templates/list/posts-count-column.raw.hbs | 2 +- app/assets/stylesheets/common/base/_topic-list.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/list/posts-count-column.raw.hbs b/app/assets/javascripts/discourse/templates/list/posts-count-column.raw.hbs index b746d22f008..052bb477737 100644 --- a/app/assets/javascripts/discourse/templates/list/posts-count-column.raw.hbs +++ b/app/assets/javascripts/discourse/templates/list/posts-count-column.raw.hbs @@ -1,3 +1,3 @@ <{{view.tagName}} class='num posts-map posts {{view.likesHeat}}' title='{{view.title}}'> - {{topic.replyCount}} + {{number topic.replyCount}} diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index e23ff917ff5..d77a94e11dd 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -229,7 +229,7 @@ ol.category-breadcrumb { @include fa-icon-rotate(180deg, 1); color: $primary; /* because it is rotated, right becomes left! */ - padding-left: 3px; + padding-left: 3px; padding-right: 0 !important; }