mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
605b89a0d2
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)
28 lines
721 B
JavaScript
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();
|
|
}
|
|
}
|
|
});
|