FIX: don't show the 'new topics' banner in Top

This commit is contained in:
Régis Hanol 2015-09-28 12:03:37 +02:00
parent f269514b6f
commit 0f49224a60
2 changed files with 15 additions and 14 deletions

View File

@ -21,14 +21,15 @@
<div class='top-lists'>
{{period-chooser period=period action="changePeriod"}}
</div>
{{/if}}
{{#if topicTrackingState.hasIncoming}}
<div class="show-more {{if hasTopics 'has-topics'}}">
<div class='alert alert-info clickable' {{action "showInserted"}}>
{{count-i18n key="topic_count_" suffix=topicTrackingState.filter count=topicTrackingState.incomingCount}}
{{i18n 'click_to_show'}}
{{else}}
{{#if topicTrackingState.hasIncoming}}
<div class="show-more {{if hasTopics 'has-topics'}}">
<div class='alert alert-info clickable' {{action "showInserted"}}>
{{count-i18n key="topic_count_" suffix=topicTrackingState.filter count=topicTrackingState.incomingCount}}
{{i18n 'click_to_show'}}
</div>
</div>
</div>
{{/if}}
{{/if}}
{{#if hasTopics}}

View File

@ -3,13 +3,13 @@
<div class='top-lists'>
{{period-chooser period=period action="changePeriod"}}
</div>
{{/if}}
{{#if topicTrackingState.hasIncoming}}
<div class='alert alert-info' {{action "showInserted"}}>
{{count-i18n key="topic_count_" suffix=topicTrackingState.filter count=topicTrackingState.incomingCount}}
{{i18n 'click_to_show'}}
</div>
{{else}}
{{#if topicTrackingState.hasIncoming}}
<div class='alert alert-info' {{action "showInserted"}}>
{{count-i18n key="topic_count_" suffix=topicTrackingState.filter count=topicTrackingState.incomingCount}}
{{i18n 'click_to_show'}}
</div>
{{/if}}
{{/if}}
{{#if hasTopics}}