From e45307a1058a96f1699d7b49cc8598fa47acdc79 Mon Sep 17 00:00:00 2001 From: marielaSAG <45091718+marielaSAG@users.noreply.github.com> Date: Wed, 8 Jul 2020 11:21:30 +0300 Subject: [PATCH] DEV: Added before-create-topic-button plugin-outlet (#10109) --- .../javascripts/discourse/app/templates/tags/show.hbs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/javascripts/discourse/app/templates/tags/show.hbs b/app/assets/javascripts/discourse/app/templates/tags/show.hbs index 909b20a1985..08b966721ad 100644 --- a/app/assets/javascripts/discourse/app/templates/tags/show.hbs +++ b/app/assets/javascripts/discourse/app/templates/tags/show.hbs @@ -34,6 +34,13 @@ }} {{/unless}} {{/if}} + + {{plugin-outlet name="before-create-topic-button" + args=(hash + canCreateTopic=canCreateTopic + createTopicDisabled=createTopicDisabled + createTopicLabel=createTopicLabel) + }} {{create-topic-button canCreateTopic=canCreateTopic