FEATURE: display report total value when showing report
This commit is contained in:
parent
a1c0d0e6e5
commit
a41057aa6e
|
@ -13,5 +13,16 @@
|
|||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
||||
{{#if model.total}}
|
||||
<tr class="total-for-period">
|
||||
<td class="x-value">
|
||||
{{i18n 'admin.dashboard.reports.total_for_period'}}
|
||||
</td>
|
||||
<td>
|
||||
{{model.total}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
</table>
|
||||
{{/if}}
|
||||
|
|
|
@ -178,6 +178,12 @@ $mobile-breakpoint: 700px;
|
|||
}
|
||||
}
|
||||
|
||||
tr.total-for-period {
|
||||
td {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
&.web_crawlers {
|
||||
tr {
|
||||
th:nth-of-type(1) {
|
||||
|
|
|
@ -2774,6 +2774,7 @@ en:
|
|||
end_date: "End Date"
|
||||
groups: "All groups"
|
||||
disabled: "This report is disabled"
|
||||
total_for_period: "Total for period"
|
||||
trending_search:
|
||||
more: '<a href="/admin/logs/search_logs">Search logs</a>'
|
||||
disabled: 'Trending search report is disabled. Enable <a href="/admin/site_settings/category/all_results?filter=log%20search%20queries">log search queries</a> to collect data.'
|
||||
|
|
Loading…
Reference in New Issue