DEV: adds a few plugin outlets required for themes (#9929)

This commit is contained in:
Joe 2020-05-30 03:04:12 +08:00 committed by GitHub
parent 931bfca454
commit 8e6d95a309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,6 @@
<div class="composer-controls"> <div class="composer-controls">
{{plugin-outlet name="before-composer-toggles"}}
{{#if site.mobileView}} {{#if site.mobileView}}
{{flat-button {{flat-button
class="toggle-toolbar" class="toggle-toolbar"

View File

@ -14,6 +14,8 @@
{{conditional-loading-spinner condition=loading}} {{conditional-loading-spinner condition=loading}}
{{plugin-outlet name="discovery-above"}}
<div class="container list-container {{if loading "hidden"}}"> <div class="container list-container {{if loading "hidden"}}">
<div class="row"> <div class="row">
<div class="full-width"> <div class="full-width">

View File

@ -42,6 +42,8 @@
{{period-chooser period=period action=(action "changePeriod") fullDay=false}} {{period-chooser period=period action=(action "changePeriod") fullDay=false}}
</div> </div>
{{else}} {{else}}
{{plugin-outlet name="before-topic-list" args=(hash category=category)}}
{{#if topicTrackingState.hasIncoming}} {{#if topicTrackingState.hasIncoming}}
<div class="show-more {{if hasTopics "has-topics"}}"> <div class="show-more {{if hasTopics "has-topics"}}">
<a tabindex="0" href {{action "showInserted"}} class="alert alert-info clickable"> <a tabindex="0" href {{action "showInserted"}} class="alert alert-info clickable">
@ -73,6 +75,8 @@
scrollOnLoad=true scrollOnLoad=true
onScroll=discoveryTopicList.saveScrollPosition}} onScroll=discoveryTopicList.saveScrollPosition}}
{{/if}} {{/if}}
{{plugin-outlet name="after-topic-list" args=(hash category=category)}}
{{/discovery-topics-list}} {{/discovery-topics-list}}
<footer class="topic-list-bottom"> <footer class="topic-list-bottom">