{{model.title}}

{{i18n 'admin.dashboard.reports.start_date'}} {{date-picker-past value=startDate defaultDate=startDate}} {{i18n 'admin.dashboard.reports.end_date'}} {{date-picker-past value=endDate defaultDate=endDate}} {{#if showCategoryOptions}} {{combo-box valueAttribute="value" content=categoryOptions value=categoryId}} {{/if}} {{#if showGroupOptions}} {{combo-box valueAttribute="value" content=groupOptions value=groupId}} {{/if}} {{d-button action="refreshReport" class="btn-primary" label="admin.dashboard.reports.refresh_report" icon="refresh"}} {{d-button action="exportCsv" label="admin.export_csv.button_text" icon="download"}}
{{#if viewingTable}} {{i18n 'admin.dashboard.reports.view_table'}} {{else}} {{i18n 'admin.dashboard.reports.view_table'}} {{/if}} | {{#if viewingGraph}} {{i18n 'admin.dashboard.reports.view_graph'}} {{else}} {{i18n 'admin.dashboard.reports.view_graph'}} {{/if}}
{{#conditional-loading-spinner condition=refreshing}} {{#if viewingGraph}} {{admin-graph model=model}} {{else}} {{#each model.dataReversed as |row|}} {{/each}}
{{model.xaxis}} {{model.yaxis}}
{{row.x}} {{row.y}}
{{/if}} {{/conditional-loading-spinner}}