UX: show replies in shortened form (#187)
 
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import { gt } from "truth-helpers";
|
||||
import icon from "discourse/helpers/d-icon";
|
||||
import number from "discourse/helpers/number";
|
||||
|
||||
const TopicRepliesColumn = <template>
|
||||
{{#if (gt @topic.replyCount 1)}}
|
||||
<span class="topic-replies">{{icon "reply"}}{{@topic.posts_count}}</span>
|
||||
<span class="topic-replies">{{icon "reply"}}{{number
|
||||
@topic.posts_count
|
||||
}}</span>
|
||||
{{/if}}
|
||||
</template>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user