BUGFIX: add h2 with period when browsing top pages

This commit is contained in:
Régis Hanol 2014-04-21 18:40:54 +02:00
parent a24d910470
commit 561f7e0148
2 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,12 @@
{{/if}}
<div class='contents'>
{{#if top}}
{{#if yearly}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.this_year}}</h2>{{/if}}
{{#if monthly}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.this_month}}</h2>{{/if}}
{{#if weekly}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.this_week}}</h2>{{/if}}
{{#if daily}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.today}}</h2>{{/if}}
{{/if}}
{{#if showTable}}
<table id='topic-list'>
<thead>

View File

@ -1,5 +1,11 @@
<div class='contents'>
{{#if showTable}}
{{#if top}}
{{#if yearly}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.this_year}}</h2>{{/if}}
{{#if monthly}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.this_month}}</h2>{{/if}}
{{#if weekly}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.this_week}}</h2>{{/if}}
{{#if daily}}<h2><i class="fa fa-calendar-o"></i>&nbsp;{{i18n filters.top.today}}</h2>{{/if}}
{{/if}}
<table id='topic-list'>
{{#if topicTrackingState.hasIncoming}}
<tbody>