mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 08:03:40 +08:00
BUGFIX: properly hide categories/top lists view when loading another tab
This commit is contained in:
parent
3a6bffa05d
commit
9ab5b3a123
|
@ -1,4 +1,5 @@
|
||||||
<div class='contents'>
|
{{#if model.categories}}
|
||||||
|
<div class='contents'>
|
||||||
<table id='topic-list' class='categories'>
|
<table id='topic-list' class='categories'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -97,6 +98,6 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<footer id='topic-list-bottom'></footer>
|
<footer id='topic-list-bottom'></footer>
|
||||||
|
{{/if}}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<div class="top-lists">
|
{{#if content}}
|
||||||
|
<div class="top-lists">
|
||||||
{{#if redirectedToTopPageReason}}
|
{{#if redirectedToTopPageReason}}
|
||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
{{redirectedToTopPageReason}}
|
{{redirectedToTopPageReason}}
|
||||||
|
@ -45,4 +46,5 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h3>
|
</h3>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user