mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-23 20:37:42 +00:00
[backbone] Improve org and group page
This commit is contained in:
@@ -9,10 +9,10 @@ define([
|
||||
'app/views/add-group-repo',
|
||||
'app/views/group-recent-change',
|
||||
'app/views/dir',
|
||||
// 'app/views/dirents'
|
||||
'app/views/group-nav',
|
||||
], function($, _, Backbone, Common, GroupRepos, DirentCollection,
|
||||
GroupRepoView, AddGroupRepoView/*, DirentView*/, GroupRecentChangeView,
|
||||
DirView) {
|
||||
DirView, GroupNavView) {
|
||||
'use strict';
|
||||
|
||||
var GroupView = Backbone.View.extend({
|
||||
@@ -41,6 +41,9 @@ define([
|
||||
this.listenTo(this.repos, 'reset', this.reset);
|
||||
|
||||
this.dirView = new DirView();
|
||||
|
||||
this.groupView = new GroupNavView();
|
||||
Common.initAccountPopup();
|
||||
},
|
||||
|
||||
/*
|
||||
|
@@ -6,8 +6,9 @@ define([
|
||||
'app/collections/repos',
|
||||
'app/views/organization-repo',
|
||||
'app/views/dir',
|
||||
'app/views/group-nav',
|
||||
], function($, _, Backbone, Common, RepoCollection, OrganizationRepoView,
|
||||
DirView) {
|
||||
DirView, GroupNavView) {
|
||||
'use strict';
|
||||
|
||||
var OrganizationView = Backbone.View.extend({
|
||||
@@ -25,6 +26,9 @@ define([
|
||||
this.listenTo(this.repos, 'reset', this.reset);
|
||||
|
||||
this.dirView = new DirView();
|
||||
|
||||
this.groupView = new GroupNavView();
|
||||
Common.initAccountPopup();
|
||||
},
|
||||
|
||||
events: {
|
||||
|
Reference in New Issue
Block a user