From 1f57c7a510bbb29448798ca22c27bf8696c1d0e2 Mon Sep 17 00:00:00 2001 From: Aeden McGarry Date: Tue, 12 Apr 2016 04:15:00 +1000 Subject: [PATCH] Added plugin outlets above post in topic stream and above and below footer (#4104) * Added new plugin outlets above and below footer * Added plugin outlet in topic above the user * Renamed plugin outlet to be better suited to position --- app/assets/javascripts/discourse/templates/application.hbs | 3 ++- app/assets/javascripts/discourse/templates/topic.hbs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/application.hbs b/app/assets/javascripts/discourse/templates/application.hbs index c9a5681dff4..99ef6ee552c 100644 --- a/app/assets/javascripts/discourse/templates/application.hbs +++ b/app/assets/javascripts/discourse/templates/application.hbs @@ -12,11 +12,12 @@ {{render "user-card"}} +{{plugin-outlet "above-footer"}} {{#if showFooter}} {{custom-html "footer"}} {{/if}} +{{plugin-outlet "below-footer"}} {{render "modal"}} {{render "topic-entrance"}} {{render "composer"}} - diff --git a/app/assets/javascripts/discourse/templates/topic.hbs b/app/assets/javascripts/discourse/templates/topic.hbs index 97d7498860d..ab5e84bcbf7 100644 --- a/app/assets/javascripts/discourse/templates/topic.hbs +++ b/app/assets/javascripts/discourse/templates/topic.hbs @@ -68,6 +68,8 @@ {{conditional-loading-spinner condition=model.postStream.loadingAbove}} + {{plugin-outlet "topic-above-posts"}} + {{#unless model.postStream.loadingFilter}} {{scrolling-post-stream posts=postsToRender