mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
new devices page
This commit is contained in:
@@ -29,6 +29,7 @@ define([
|
||||
'common/lib/:repo_id(/*path)': 'showCommonDir',
|
||||
'starred/': 'showStarredFile',
|
||||
'activities/': 'showActivities',
|
||||
'devices/': 'showDevices',
|
||||
// Default
|
||||
'*actions': 'showRepos'
|
||||
},
|
||||
@@ -96,6 +97,12 @@ define([
|
||||
this.sideNavView.setCurTab('starred');
|
||||
},
|
||||
|
||||
showDevices: function() {
|
||||
this.switchCurrentView(this.myHomeView);
|
||||
this.myHomeView.showDevices();
|
||||
this.sideNavView.setCurTab('devices');
|
||||
},
|
||||
|
||||
showActivities: function() {
|
||||
this.switchCurrentView(this.myHomeView);
|
||||
this.myHomeView.showActivities();
|
||||
|
Reference in New Issue
Block a user