A platform for community discussion. Free, open, simple.
DEV: Add a PluginOutlet for mobile-view topic activity number (#31567)
Lincaba19430286db
diff --git a/app/assets/javascripts/discourse/app/components/topic-list/item.gjs b/app/assets/javascripts/discourse/app/components/topic-list/item.gjsindex 03ad751324d..dfa37569ac5 100644--- a/app/assets/javascripts/discourse/app/components/topic-list/item.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-list/item.gjs@@ -386,13 +386,18 @@ export default class Item extends Component {</span><div class="num activity last">- <span title={{@topic.bumpedAtTitle}} class="age activity">- <a href={{@topic.lastPostUrl}}>{{formatDate- @topic.bumpedAt- format="tiny"- noTitle="true"- }}</a>- </span>+ <PluginOutlet+ @name="topic-list-item-mobile-bumped-at"+ @outletArgs={{hash topic=@topic}}+ >+ <span title={{@topic.bumpedAtTitle}} class="age activity">+ <a href={{@topic.lastPostUrl}}>{{formatDate+ @topic.bumpedAt+ format="tiny"+ noTitle="true"+ }}</a>+ </span>+ </PluginOutlet></div></div></div>