DEV: Merge topic list card component (#17)
This PR merges the topic-list-item card component into the nextgen theme. Also does the following cleanup: * Use template-only ember components * Use `fire` instead of deprecated `fa-fire` icon * Lower version requirement for node to 18 to match core * Add english locale strings for topic status column * Remove dummy theme settings --------- Co-authored-by: Martin Brennan <martin@discourse.org>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import icon from "discourse/helpers/d-icon";
|
||||
|
||||
const TopicRepliesColumn = <template>
|
||||
{{#if @topic.posts_count}}
|
||||
<span class="topic-replies">{{icon "reply"}}{{@topic.posts_count}}</span>
|
||||
{{/if}}
|
||||
</template>;
|
||||
|
||||
export default TopicRepliesColumn;
|
||||
Reference in New Issue
Block a user