Ghost/ghost/admin/app/routes
Kevin Ansfield a5eeb1865b 🎨 Move "Update available" notification to the About screen (#894)
refs https://github.com/TryGhost/Ghost/issues/5071

Upgrade messages are now shown on the About screen rather than as alerts. Notifications that are marked as `top` or `custom` are still shown as alerts to allow for certain upgrade messages to be given more visibility.

- remove old `upgrade-notification` service
- update the `upgrade-status` service:
  - add a `message` property that contains an upgrade notification if any exists
  - add a `handleUpgradeNotification` method that accepts a Notification model instance and extracts the `notification.message` property into a html safe string for use in templates
- when loading server notifications during app boot, pass notifications that aren't marked as `top` or `custom` to the new `handleUpgradeNotification` method
- update the `about.hbs` template to pull the upgrade message from the `upgradeStatus` service
2018-01-09 14:23:36 +00:00
..
editor Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
settings Added Zapier app with pre-built zap templates list (#943) 2018-01-09 11:36:41 +01:00
setup Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
subscribers Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
team Ensure user model is present in willTransition hook 2017-11-07 12:34:39 +00:00
about.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
application.js 🎨 Move "Update available" notification to the About screen (#894) 2018-01-09 14:23:36 +00:00
authenticated.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
error404.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
posts.js 🎨 Added "Featured posts" filter and badge to stories list (#907) 2017-11-10 17:36:27 +00:00
reset.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
setup.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
signin.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
signout.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
signup.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
subscribers.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00