diff --git a/app/assets/javascripts/admin/templates/dashboard.hbs b/app/assets/javascripts/admin/templates/dashboard.hbs index 0f06bf37828..f73a52b5cda 100644 --- a/app/assets/javascripts/admin/templates/dashboard.hbs +++ b/app/assets/javascripts/admin/templates/dashboard.hbs @@ -1,6 +1,6 @@
+ | {{i18n 'admin.dashboard.installed_version'}} | +{{i18n 'admin.dashboard.latest_version'}} | +{{i18n 'admin.dashboard.version'}} | +{{dash-if-empty versionCheck.installed_describe}} | + + {{#if versionCheck.noCheckPerformed}} +— | ++ ☹ + | ++ {{i18n 'admin.dashboard.no_check_performed'}} + | + {{else}} + {{#if versionCheck.staleData}} +{{#if versionCheck.version_check_pending}}{{dash-if-empty versionCheck.installed_version}}{{/if}} | ++ {{#if versionCheck.version_check_pending}} + {{fa-icon "smile-o"}} + {{else}} + {{fa-icon "frown-o"}} + {{/if}} + | ++ + {{#if versionCheck.version_check_pending}} + {{i18n 'admin.dashboard.version_check_pending'}} + {{else}} + {{i18n 'admin.dashboard.stale_data'}} + {{/if}} + + | + {{else}} +{{dash-if-empty versionCheck.latest_version}} | ++ {{#if versionCheck.upToDate }} + {{fa-icon "frown-o"}} + {{else}} + + {{#if versionCheck.behindByOneVersion}} + {{fa-icon "smile-o"}} + {{else}} + {{fa-icon "frown-o"}} + {{/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}} + {{/if}} + + {{/unless}} +
---|
- | {{i18n 'admin.dashboard.installed_version'}} | -{{i18n 'admin.dashboard.latest_version'}} | -- | - | {{i18n 'admin.dashboard.version'}} | -{{ versionCheck.installed_describe }} | - - {{#if versionCheck.noCheckPerformed}} -- | - ☹ - | -- {{i18n 'admin.dashboard.no_check_performed'}} - | - {{else}} - {{#if versionCheck.staleData}} -{{#if versionCheck.version_check_pending}}{{ versionCheck.installed_version }}{{/if}} | -- {{#if versionCheck.version_check_pending}} - ☻ - {{else}} - ☹ - {{/if}} - | -- - {{#if versionCheck.version_check_pending}} - {{i18n 'admin.dashboard.version_check_pending'}} - {{else}} - {{i18n 'admin.dashboard.stale_data'}} - {{/if}} - - | - {{else}} -{{ versionCheck.latest_version }} | -- {{#if versionCheck.upToDate }} - ☻ - {{else}} - - {{#if versionCheck.behindByOneVersion}} - ☺ - {{else}} - ☹ - {{/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}} - {{/if}} - - {{/unless}} -
---|