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

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

{{period-chooser period=period action=(action "changePeriod") content=availablePeriods fullDay=true}}
{{admin-report dataSourceName="consolidated_page_views" forcedModes="stacked-chart" filters=filters}} {{admin-report dataSourceName="signups" showTrend=true forcedModes="chart" filters=filters}} {{admin-report dataSourceName="topics" showTrend=true forcedModes="chart" filters=filters}} {{admin-report dataSourceName="posts" showTrend=true forcedModes="chart" filters=filters}} {{admin-report dataSourceName="dau_by_mau" showTrend=true forcedModes="chart" filters=filters}} {{admin-report dataSourceName="daily_engaged_users" showTrend=true forcedModes="chart" filters=filters}} {{admin-report dataSourceName="new_contributors" showTrend=true forcedModes="chart" filters=filters}}
{{/if}}
{{#if isActivityMetricsVisible}} {{#if activityMetrics.length}}
{{i18n "admin.dashboard.reports.today"}}
{{i18n "admin.dashboard.reports.yesterday"}}
{{i18n "admin.dashboard.reports.last_7_days"}}
{{i18n "admin.dashboard.reports.last_30_days"}}
{{#each activityMetrics as |metric|}} {{admin-report showHeader=false filters=activityMetricsFilters forcedModes="counters" dataSourceName=metric}} {{/each}}
{{/if}} {{/if}}
{{#conditional-loading-section isLoading=isLoading}} {{admin-report forcedModes="inline-table" dataSourceName="users_by_type"}} {{admin-report forcedModes="inline-table" dataSourceName="users_by_trust_level"}} {{/conditional-loading-section}}
{{admin-report forcedModes="storage-stats" dataSourceName="storage_stats" showHeader=false}}

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

{{format-date model.attributes.updated_at leaveAgo="true"}}

{{#if model.attributes.discourse_updated_at}}

{{i18n "admin.dashboard.discourse_last_updated"}}

{{format-date model.attributes.discourse_updated_at leaveAgo="true"}}

{{i18n "admin.dashboard.whats_new_in_discourse"}}
{{/if}}
{{#if isSearchReportsVisible}}
{{admin-report filters=topReferredTopicsFilters dataSourceName="top_referred_topics" reportOptions=topReferredTopicsOptions}} {{admin-report dataSourceName="trending_search" reportOptions=trendingSearchOptions filters=trendingSearchFilters isEnabled=logSearchQueriesEnabled disabledLabel=trendingSearchDisabledLabel}} {{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(base-path))}}
{{/if}}
{{plugin-outlet name="admin-dashboard-general-bottom"}} {{/conditional-loading-spinner}}