Skip to content

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

DEV: add topic timeline plugin outlets

Jeff Wong9370c91a7a0a
diff --git a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs b/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs
index 0148696dc96..268a7d0e6b6 100644
--- a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs
+++ b/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs
@@ -32,6 +32,7 @@
{{#if (and (not @fullscreen) @currentUser)}}
<div class="timeline-controls">
+ <PluginOutlet @name="timeline-controls-before" @tagName="span" @connectorTagName="span" @args={{hash model=@model}} />
<TopicAdminMenuButton
@topic={{@model}}
@addKeyboardTargetClass={{true}}
@@ -137,5 +138,6 @@
<TopicAdminMenuButton @topic={{@model}} @addKeyboardTargetClass={{true}} @openUpwards={{true}} />
{{/if}}
{{/if}}
+ <PluginOutlet @name="timeline-footer-controls-after" @tagName="span" @connectorTagName="span" @args={{hash model=@model}}/>
</div>
{{/if}}