{{plugin-outlet "admin-dashboard-top"}}
{{#if showVersionChecks}} {{partial 'admin/templates/version-checks'}} {{/if}}
{{#unless loading}} {{#each r in user_reports}} {{admin-report-trust-level-counts report=r}} {{/each}} {{/unless}}
  0 1 2 3 4
{{fa-icon "shield"}} {{i18n 'admin.dashboard.admins'}} {{#link-to 'adminUsersList.show' 'admins'}}{{admins}}{{/link-to}} {{fa-icon "ban"}} {{i18n 'admin.dashboard.suspended'}} {{#link-to 'adminUsersList.show' 'suspended'}}{{suspended}}{{/link-to}}
{{fa-icon "shield"}} {{i18n 'admin.dashboard.moderators'}} {{#link-to 'adminUsersList.show' 'moderators'}}{{moderators}}{{/link-to}} {{fa-icon "ban"}} {{i18n 'admin.dashboard.blocked'}} {{#link-to 'adminUsersList.show' 'blocked'}}{{blocked}}{{/link-to}}
{{#unless loading}} {{#each r in global_reports}} {{admin-report-counts report=r}} {{/each}} {{/unless}}
  {{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'}}
{{#unless loading}} {{#each r in page_view_reports}} {{admin-report-counts report=r}} {{/each}} {{/unless}}
{{i18n 'admin.dashboard.page_views_short'}} {{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'}}
{{#unless loading}} {{#each r in private_message_reports}} {{admin-report-counts report=r}} {{/each}} {{/unless}}
{{fa-icon "envelope"}} {{i18n 'admin.dashboard.private_messages_short'}} {{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'}}
{{#unless loading}} {{#each r in mobile_reports}} {{admin-report-counts report=r}} {{/each}} {{/unless}}
{{i18n 'admin.dashboard.mobile_title'}} {{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'}}
{{#unless loading}} {{/unless}}
 
{{i18n 'admin.dashboard.uploads'}} {{disk_space.uploads_used}} ({{i18n 'admin.dashboard.space_free' size=disk_space.uploads_free}}) {{#if currentUser.admin}}{{i18n 'admin.dashboard.backups'}}{{/if}} {{disk_space.backups_used}} ({{i18n 'admin.dashboard.space_free' size=disk_space.backups_free}})
{{#unless loading}} {{#if showTrafficReport}}
{{#unless loading}} {{#each r in http_reports}} {{admin-report-counts report=r}} {{/each}} {{/unless}}
{{i18n 'admin.dashboard.traffic_short'}} {{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'}}
{{else}}
{{i18n 'admin.dashboard.show_traffic_report'}}
{{/if}} {{/unless}}
{{#if foundProblems}}
{{fa-icon "exclamation-triangle"}}

{{i18n 'admin.dashboard.problems_found'}}

    {{#each problem in problems}}
  • {{{problem}}}
  • {{/each}}

{{i18n 'admin.dashboard.last_checked'}}: {{problemsTimestamp}} {{d-button action="refreshProblems" class="btn-small" icon="refresh" label="admin.dashboard.refresh_problems"}}

{{else}} {{#if thereWereProblems}}
 

{{i18n 'admin.dashboard.no_problems'}} {{d-button action="refreshProblems" class="btn-small" icon="refresh" label="admin.dashboard.refresh_problems"}}

{{/if}} {{/if}}
{{#unless loading}} {{#each data in top_referred_topics.data}} {{/each}} {{/unless}}
{{top_referred_topics.title}} ({{i18n 'admin.dashboard.reports.last_30_days'}}) {{top_referred_topics.ytitles.num_clicks}}
{{data.num_clicks}}
{{#unless loading}} {{#each s in top_traffic_sources.data}} {{/each}} {{/unless}}
{{top_traffic_sources.title}} ({{i18n 'admin.dashboard.reports.last_30_days'}}) {{top_traffic_sources.ytitles.num_clicks}} {{top_traffic_sources.ytitles.num_topics}}
{{s.domain}} {{s.num_clicks}} {{s.num_topics}}
{{#unless loading}} {{#each r in top_referrers.data}} {{/each}} {{/unless}}
{{top_referrers.title}} ({{i18n 'admin.dashboard.reports.last_30_days'}}) {{top_referrers.ytitles.num_clicks}} {{top_referrers.ytitles.num_topics}}
{{#link-to 'adminUser' r.user_id r.username}}{{unbound r.username}}{{/link-to}} {{r.num_clicks}} {{r.num_topics}}
{{i18n 'admin.dashboard.last_updated'}} {{updatedTimestamp}}