BUGFIX: properly hide categories/top lists view when loading another tab

This commit is contained in:
Régis Hanol 2014-01-14 01:47:36 +01:00
parent 3a6bffa05d
commit 9ab5b3a123
2 changed files with 149 additions and 146 deletions

View File

@ -1,4 +1,5 @@
<div class='contents'>
{{#if model.categories}}
<div class='contents'>
<table id='topic-list' class='categories'>
<thead>
<tr>
@ -97,6 +98,6 @@
{{/each}}
</tbody>
</table>
</div>
<footer id='topic-list-bottom'></footer>
</div>
<footer id='topic-list-bottom'></footer>
{{/if}}

View File

@ -1,4 +1,5 @@
<div class="top-lists">
{{#if content}}
<div class="top-lists">
{{#if redirectedToTopPageReason}}
<div class="alert alert-info">
{{redirectedToTopPageReason}}
@ -45,4 +46,5 @@
{{/if}}
</h3>
</footer>
</div>
</div>
{{/if}}