mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -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"}}
|
||||
|
||||
<footer class='topic-list-bottom'>
|
||||
{{conditional-loading-spinner condition=loading}}
|
||||
{{conditional-loading-spinner condition=loading}}
|
||||
|
||||
{{#unless loading}}
|
||||
{{#if list.topics}}
|
||||
{{#discovery-topics-list model=list refresh="refresh"}}
|
||||
{{bulk-select-button selected=selected action="refresh"}}
|
||||
{{#unless loading}}
|
||||
{{#if list.topics}}
|
||||
{{#discovery-topics-list model=list refresh="refresh"}}
|
||||
{{bulk-select-button selected=selected action="refresh"}}
|
||||
|
||||
{{topic-list topics=list.topics
|
||||
canBulkSelect=canBulkSelect
|
||||
toggleBulkSelect="toggleBulkSelect"
|
||||
bulkSelectEnabled=bulkSelectEnabled
|
||||
selected=selected
|
||||
showPosters=true
|
||||
order=order
|
||||
ascending=ascending
|
||||
changeSort="changeSort"}}
|
||||
{{topic-list topics=list.topics
|
||||
canBulkSelect=canBulkSelect
|
||||
toggleBulkSelect="toggleBulkSelect"
|
||||
bulkSelectEnabled=bulkSelectEnabled
|
||||
selected=selected
|
||||
showPosters=true
|
||||
order=order
|
||||
ascending=ascending
|
||||
changeSort="changeSort"}}
|
||||
|
||||
{{/discovery-topics-list}}
|
||||
{{else}}
|
||||
{{/discovery-topics-list}}
|
||||
{{else}}
|
||||
<footer class='topic-list-bottom'>
|
||||
<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}}
|
||||
</h3>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
</footer>
|
||||
</footer>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user