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">
{{plugin-outlet name="before-composer-toggles"}}
{{#if site.mobileView}}
{{flat-button
class="toggle-toolbar"
@ -19,4 +21,4 @@
action=toggleFullscreen
title=fullscreenTitle}}
{{/unless}}
</div>
</div>

View File

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

View File

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