{{#if Discourse.SiteSettings.version_checks}} {{#if loading }}

{{i18n loading}}

{{else}}

{{i18n admin.dashboard.version}}: {{ versionCheck.installed_version }} {{#if versionCheck.installed_sha}} ({{versionCheck.shortSha}}) {{/if}}

{{i18n admin.dashboard.latest_version}}: {{ versionCheck.latest_version }} {{#if versionCheck.upToDate }} {{i18n admin.dashboard.up_to_date}} {{else}} {{#if versionCheck.behindByOneVersion}} ☺ {{else}} ☹ {{/if}} {{i18n admin.dashboard.critical_available}} {{i18n admin.dashboard.updates_available}} {{i18n admin.dashboard.please_upgrade}} {{/if}}

{{/if}} {{/if}}

{{i18n admin.dashboard.update_often}}

{{i18n admin.dashboard.total_users}}: {{#unless loading}}{{ totalUsers }}{{/unless}}
{{#unless loading}} {{ render 'admin_report_trust_levels' users_by_trust_level }} {{/unless}}
  0 1 2 3 4 {{i18n admin.dashboard.moderator_short}}
{{#unless loading}} {{ render 'admin_report_signups' signups }} {{ render 'admin_report_topics' topics }} {{ render 'admin_report_posts' posts }} {{ render 'admin_report_likes' likes }} {{ render 'admin_report_flags' flags }} {{ render 'admin_report_emails' emails }} {{/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}}
{{#unless loading}} {{ render 'admin_report_visits' visits }} {{/unless}}
  {{i18n admin.dashboard.reports.today}} {{i18n admin.dashboard.reports.yesterday}} {{i18n admin.dashboard.reports.7_days_ago}} {{i18n admin.dashboard.reports.30_days_ago}}
{{ render admin_github_commits githubCommits }}