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,3 +1,4 @@
{{#if model.categories}}
<div class='contents'> <div class='contents'>
<table id='topic-list' class='categories'> <table id='topic-list' class='categories'>
<thead> <thead>
@ -99,4 +100,4 @@
</table> </table>
</div> </div>
<footer id='topic-list-bottom'></footer> <footer id='topic-list-bottom'></footer>
{{/if}}

View File

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