{{i18n "admin.dashboard.installed_version"}}
{{dash-if-empty versionCheck.installed_version}}
{{#if versionCheck.gitLink}}
{{/if}}
{{#if versionCheck.noCheckPerformed}}
{{i18n "admin.dashboard.latest_version"}}
—
{{d-icon "far-frown"}}
{{i18n "admin.dashboard.no_check_performed"}}
{{else if versionCheck.stale_data}}
{{i18n "admin.dashboard.latest_version"}}
{{#if versionCheck.version_check_pending}}
{{dash-if-empty versionCheck.installed_version}}
{{/if}}
{{#if versionCheck.version_check_pending}}
{{d-icon "far-smile"}}
{{else}}
{{d-icon "far-frown"}}
{{/if}}
{{#if versionCheck.version_check_pending}}
{{i18n "admin.dashboard.version_check_pending"}}
{{else}}
{{i18n "admin.dashboard.stale_data"}}
{{/if}}
{{else}}
{{i18n "admin.dashboard.latest_version"}}
{{dash-if-empty versionCheck.latest_version}}
{{#if versionCheck.upToDate}}
{{d-icon "far-smile"}}
{{else}}
{{#if versionCheck.behindByOneVersion}}
{{d-icon "far-meh"}}
{{else}}
{{d-icon "far-frown"}}
{{/if}}
{{/if}}
{{#if versionCheck.upToDate}}
{{i18n "admin.dashboard.up_to_date"}}
{{else}}
{{i18n "admin.dashboard.critical_available"}}
{{i18n "admin.dashboard.updates_available"}}
{{i18n "admin.dashboard.please_upgrade"}}
{{/if}}
{{/if}}
{{custom-html
name="upgrade-header"
versionCheck=versionCheck
tagName="div"
classNames="upgrade-header"
}}