DEV: Update plugin-outlet arguments (#73)
Core's defaults are changing in https://github.com/discourse/discourse/pull/13685. This commit ensures the behaviour of this plugin will not change.
This commit is contained in:
parent
e56816eb50
commit
841a814bfb
|
@ -20,4 +20,4 @@
|
|||
{{d-icon "far-comment"}} {{i18n "docs.topic.navigate_to_topic"}}
|
||||
</a>
|
||||
|
||||
{{plugin-outlet name="after-docs-topic"}}
|
||||
{{plugin-outlet name="after-docs-topic" tagName="span" connectorTagName="div"}}
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
placeholderKey="docs.tags_filter_placeholder"
|
||||
}}
|
||||
{{/if}}
|
||||
{{plugin-outlet name="before-docs-tag-list" tagName="" args=(hash tags=tags updateSelectedTags=updateSelectedTags)}}
|
||||
{{plugin-outlet name="before-docs-tag-list" tagName="" connectorTagName="div" args=(hash tags=tags updateSelectedTags=updateSelectedTags)}}
|
||||
<ul>
|
||||
{{#each sortedTags as |tag|}}
|
||||
<li class="docs-filter-tag-{{tag.id}}">
|
||||
|
@ -96,7 +96,7 @@
|
|||
<div class="result-count no-result">
|
||||
{{i18n "search.no_results"}}
|
||||
</div>
|
||||
{{plugin-outlet name="after-docs-empty-results"}}
|
||||
{{plugin-outlet name="after-docs-empty-results" tagName="span" connectorTagName="div"}}
|
||||
{{else}}
|
||||
<div class="result-count">
|
||||
{{i18n "docs.search.results" count=topicCount}}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<div class="docs">
|
||||
{{plugin-outlet
|
||||
name="before-docs-search"
|
||||
tagName="span"
|
||||
connectorTagName="div"
|
||||
args=(hash
|
||||
selectCategory=(action "updateSelectedCategories")
|
||||
selectTag=(action "updateSelectedTags")
|
||||
|
|
Loading…
Reference in New Issue