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'> <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}}

View File

@ -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}}