{{plugin-outlet name="admin-dashboard-top"}}

{{i18n "admin.dashboard.community_health"}}

{{period-chooser period=period action="changePeriod" content=availablePeriods fullDay=true}}
{{dashboard-mini-chart dataSourceName="signups" startDate=startDate endDate=endDate}} {{dashboard-mini-chart dataSourceName="topics" startDate=startDate endDate=endDate}} {{dashboard-mini-chart dataSourceName="new_contributors" startDate=startDate endDate=endDate}} {{dashboard-mini-chart dataSourceName="dau_by_mau" average=true startDate=startDate endDate=endDate}} {{dashboard-mini-chart dataSourceName="daily_engaged_users" startDate=startDate endDate=endDate}} {{dashboard-mini-chart dataSourceName="inactive_users" startDate=startDate endDate=endDate}}
{{#conditional-loading-section isLoading=isLoading title=(i18n "admin.dashboard.activity_metrics")}}

{{i18n "admin.dashboard.activity_metrics"}}

{{#each reports as |report|}} {{admin-report-counts report=report}} {{/each}}
{{i18n 'admin.dashboard.reports.today'}} {{i18n 'admin.dashboard.reports.yesterday'}} {{i18n 'admin.dashboard.reports.last_7_days'}} {{i18n 'admin.dashboard.reports.last_30_days'}} {{i18n 'admin.dashboard.reports.all'}}
{{/conditional-loading-section}}
{{dashboard-inline-table dataSourceName="users_by_type" lastRefreshedAt=lastRefreshedAt}} {{dashboard-inline-table dataSourceName="users_by_trust_level" lastRefreshedAt=lastRefreshedAt}} {{#conditional-loading-section isLoading=isLoading title=(i18n "admin.dashboard.backups")}}
{{#if currentUser.admin}}

{{i18n "admin.dashboard.backups"}}

{{diskSpace.backups_used}} ({{i18n "admin.dashboard.space_free" size=diskSpace.backups_free}})
{{{i18n "admin.dashboard.lastest_backup" date=backupTimestamp}}}

{{/if}}

{{i18n "admin.dashboard.uploads"}}

{{diskSpace.uploads_used}} ({{i18n "admin.dashboard.space_free" size=diskSpace.uploads_free}})


{{i18n "admin.dashboard.last_updated"}} {{updatedTimestamp}}

{{i18n "admin.dashboard.whats_new_in_discourse"}}
{{/conditional-loading-section}}
{{dashboard-table-trending-search dataSourceName="trending_search" startDate=startDate endDate=endDate}}