A platform for community discussion. Free, open, simple.
DEV: Introduce topic category wrapper outlet (#28585)
Amanda Alves Branquinhobdd00a84b0bc
diff --git a/app/assets/javascripts/discourse/app/templates/topic.hbs b/app/assets/javascripts/discourse/app/templates/topic.hbsindex f6354a86a4a..3d183c6722c 100644--- a/app/assets/javascripts/discourse/app/templates/topic.hbs+++ b/app/assets/javascripts/discourse/app/templates/topic.hbs@@ -160,7 +160,13 @@/></h1>- <TopicCategory @topic={{this.model}} class="topic-category" />+ <PluginOutlet+ @name="topic-category-wrapper"+ @outletArgs={{hash topic=this.model}}+ >+ <TopicCategory @topic={{this.model}} class="topic-category" />+ </PluginOutlet>+{{/if}}</TopicTitle>