Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add new after-create-topic-button plugin outlet (#13848)

jbrw292412f19610
diff --git a/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs b/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs
index 3578c63a800..acec052510d 100644
--- a/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs
@@ -54,6 +54,14 @@
canCreateTopicOnTag=canCreateTopicOnTag
}}
+ {{plugin-outlet name="after-create-topic-button" tagName=""
+ args=(hash
+ canCreateTopic=canCreateTopic
+ createTopicDisabled=createTopicDisabled
+ createTopicLabel=createTopicLabel
+ category=category)
+ }}
+
{{#if category}}
{{#unless tag}}
{{!-- don't show category notification menu on tag pages --}}