Ghost/ghost/admin/app/routes/staff/index.js
Peter Zimon 605b89a0d2 Left navigation menu update (#1102)
refs. [d6c22df](d6c22df6d7)

- added icons for members and pages
- improved view site link visibility
- added view site to logo dropdown
- updated all navigation and logo menu icons
- rename 'team' to 'staff'
- lots of design refinement and update (colors, shadows)
2019-02-22 16:43:35 +07:00

28 lines
721 B
JavaScript

import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
import styleBody from 'ghost-admin/mixins/style-body';
import {inject as service} from '@ember/service';
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
infinity: service(),
session: service(),
titleToken: 'Staff',
classNames: ['view-team'],
model() {
return this.session.user;
},
setupController(controller) {
this._super(...arguments);
controller.backgroundUpdate.perform();
},
actions: {
reload() {
this.controller.backgroundUpdate.perform();
}
}
});