UX: show replies in shortened form (#187)

![CleanShot 2025-06-20 at 09 52
13@2x](https://github.com/user-attachments/assets/213416c6-24a6-41e1-84d2-04d157f11999)
![CleanShot 2025-06-20 at 09 52
25@2x](https://github.com/user-attachments/assets/34384e2c-6f4e-4933-ae35-d47102982db1)
This commit is contained in:
chapoi
2025-06-20 11:39:31 +02:00
committed by GitHub
parent ffa86a0c46
commit c6000c996f
@@ -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>;