{{#conditional-loading-spinner condition=isLoading}} {{plugin-outlet name="admin-dashboard-general-top"}}

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

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

{{#link-to "adminReports" class="report-link"}} {{i18n "admin.dashboard.activity_metrics"}} {{/link-to}}

{{#each activityMetricsReports as |report|}} {{admin-report-counts report=report allTime=false class="admin-report-table-row"}} {{/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'}}
{{/conditional-loading-section}}
{{#link-to "adminReports"}} {{i18n "admin.dashboard.all_reports"}} {{/link-to}}
{{admin-report forcedModes="inline-table" report=usersByTypeReport lastRefreshedAt=lastRefreshedAt}} {{admin-report forcedModes="inline-table" report=usersByTrustLevelReport lastRefreshedAt=lastRefreshedAt}}
{{#conditional-loading-section isLoading=isLoading title=(i18n "admin.dashboard.backups")}}
{{#if shouldDisplayDurability}}
{{#if currentUser.admin}}

{{d-icon "archive"}} {{i18n "admin.dashboard.backups"}}

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

{{/if}}

{{d-icon "upload"}} {{i18n "admin.dashboard.uploads"}}

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

{{/if}}

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

{{updatedTimestamp}}

{{i18n "admin.dashboard.whats_new_in_discourse"}}

{{i18n 'admin.dashboard.find_old'}} {{#link-to 'admin.dashboard'}}{{i18n "admin.dashboard.old_link"}}{{/link-to}}

{{/conditional-loading-section}}
{{admin-report dataSourceName="top_referred_topics" reportOptions=topReferredTopicsTopions startDate=startDate endDate=endDate}} {{admin-report dataSourceName="trending_search" reportOptions=trendingSearchOptions isEnabled=logSearchQueriesEnabled disabledLabel="admin.dashboard.reports.trending_search.disabled" startDate=startDate endDate=endDate}} {{{i18n "admin.dashboard.reports.trending_search.more"}}}
{{plugin-outlet name="admin-dashboard-general-bottom"}} {{/conditional-loading-spinner}}