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"}}
|
{{d-icon "far-comment"}} {{i18n "docs.topic.navigate_to_topic"}}
|
||||||
</a>
|
</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"
|
placeholderKey="docs.tags_filter_placeholder"
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/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>
|
<ul>
|
||||||
{{#each sortedTags as |tag|}}
|
{{#each sortedTags as |tag|}}
|
||||||
<li class="docs-filter-tag-{{tag.id}}">
|
<li class="docs-filter-tag-{{tag.id}}">
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
<div class="result-count no-result">
|
<div class="result-count no-result">
|
||||||
{{i18n "search.no_results"}}
|
{{i18n "search.no_results"}}
|
||||||
</div>
|
</div>
|
||||||
{{plugin-outlet name="after-docs-empty-results"}}
|
{{plugin-outlet name="after-docs-empty-results" tagName="span" connectorTagName="div"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="result-count">
|
<div class="result-count">
|
||||||
{{i18n "docs.search.results" count=topicCount}}
|
{{i18n "docs.search.results" count=topicCount}}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<div class="docs">
|
<div class="docs">
|
||||||
{{plugin-outlet
|
{{plugin-outlet
|
||||||
name="before-docs-search"
|
name="before-docs-search"
|
||||||
|
tagName="span"
|
||||||
|
connectorTagName="div"
|
||||||
args=(hash
|
args=(hash
|
||||||
selectCategory=(action "updateSelectedCategories")
|
selectCategory=(action "updateSelectedCategories")
|
||||||
selectTag=(action "updateSelectedTags")
|
selectTag=(action "updateSelectedTags")
|
||||||
|
|
Loading…
Reference in New Issue