mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
starred file page
This commit is contained in:
@@ -25,8 +25,8 @@ define([
|
||||
'group/:group_id/lib/:repo_id(/*path)': 'showGroupRepoDir',
|
||||
'org/': 'showOrgRepos',
|
||||
'org/lib/:repo_id(/*path)': 'showOrgRepoDir',
|
||||
|
||||
'common/lib/:repo_id(/*path)': 'showCommonDir',
|
||||
'starred/': 'showStarredFile',
|
||||
// Default
|
||||
'*actions': 'defaultAction'
|
||||
},
|
||||
@@ -72,6 +72,11 @@ define([
|
||||
this.myHomeView.showSharedRepos();
|
||||
},
|
||||
|
||||
showStarredFile: function() {
|
||||
this.switchCurrentView(this.myHomeView);
|
||||
this.myHomeView.showStarredFile();
|
||||
},
|
||||
|
||||
showMyRepoDir: function(repo_id, path) {
|
||||
if (path) {
|
||||
path = '/' + path;
|
||||
|
Reference in New Issue
Block a user