mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -06:00
move /tags/ topics list out of footer (#5405)
This commit is contained in:
parent
f0ef307d2d
commit
cce077de56
@ -41,29 +41,30 @@
|
|||||||
|
|
||||||
{{plugin-outlet name="discovery-list-container-top"}}
|
{{plugin-outlet name="discovery-list-container-top"}}
|
||||||
|
|
||||||
<footer class='topic-list-bottom'>
|
{{conditional-loading-spinner condition=loading}}
|
||||||
{{conditional-loading-spinner condition=loading}}
|
|
||||||
|
|
||||||
{{#unless loading}}
|
{{#unless loading}}
|
||||||
{{#if list.topics}}
|
{{#if list.topics}}
|
||||||
{{#discovery-topics-list model=list refresh="refresh"}}
|
{{#discovery-topics-list model=list refresh="refresh"}}
|
||||||
{{bulk-select-button selected=selected action="refresh"}}
|
{{bulk-select-button selected=selected action="refresh"}}
|
||||||
|
|
||||||
{{topic-list topics=list.topics
|
{{topic-list topics=list.topics
|
||||||
canBulkSelect=canBulkSelect
|
canBulkSelect=canBulkSelect
|
||||||
toggleBulkSelect="toggleBulkSelect"
|
toggleBulkSelect="toggleBulkSelect"
|
||||||
bulkSelectEnabled=bulkSelectEnabled
|
bulkSelectEnabled=bulkSelectEnabled
|
||||||
selected=selected
|
selected=selected
|
||||||
showPosters=true
|
showPosters=true
|
||||||
order=order
|
order=order
|
||||||
ascending=ascending
|
ascending=ascending
|
||||||
changeSort="changeSort"}}
|
changeSort="changeSort"}}
|
||||||
|
|
||||||
{{/discovery-topics-list}}
|
{{/discovery-topics-list}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<footer class='topic-list-bottom'>
|
||||||
<h3>
|
<h3>
|
||||||
{{footerMessage}}{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}
|
{{footerMessage}}{{#link-to "discovery.categories"}} {{i18n 'topic.browse_all_categories'}}{{/link-to}} {{i18n 'or'}} {{#link-to 'discovery.latest'}}{{i18n 'topic.view_latest_topics'}}{{/link-to}}
|
||||||
</h3>
|
</h3>
|
||||||
{{/if}}
|
</footer>
|
||||||
{{/unless}}
|
{{/if}}
|
||||||
</footer>
|
{{/unless}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user