mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
Rewrite account info popup and clean css
This commit is contained in:
@@ -13,11 +13,12 @@ define([
|
||||
'app/views/starred-file',
|
||||
'app/views/devices',
|
||||
'app/views/activities',
|
||||
'app/views/notifications'
|
||||
'app/views/notifications',
|
||||
'app/views/account'
|
||||
], function($, Backbone, Common, SideNavView, MyReposView,
|
||||
SharedReposView, GroupsView, GroupView,
|
||||
OrgView, DirView, StarredFileView, DevicesView, ActivitiesView,
|
||||
NotificationsView) {
|
||||
NotificationsView, AccountView) {
|
||||
"use strict";
|
||||
|
||||
var Router = Backbone.Router.extend({
|
||||
@@ -46,7 +47,7 @@ define([
|
||||
|
||||
Common.prepareApiCsrf();
|
||||
Common.initLocale();
|
||||
Common.initAccountPopup();
|
||||
//Common.initAccountPopup();
|
||||
//Common.initNoticePopup();
|
||||
|
||||
this.sideNavView = new SideNavView();
|
||||
@@ -64,6 +65,7 @@ define([
|
||||
this.activitiesView = new ActivitiesView();
|
||||
|
||||
app.ui.notificationsView = this.notificationsView = new NotificationsView();
|
||||
app.ui.accountView = this.accountView = new AccountView();
|
||||
|
||||
this.currentView = this.myReposView;
|
||||
|
||||
|
Reference in New Issue
Block a user