1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

update activity page

This commit is contained in:
lian
2015-07-28 19:54:57 +08:00
parent dfc7f1856f
commit d889f3bafe
10 changed files with 55 additions and 70 deletions

View File

@@ -27,7 +27,7 @@ define([
'org/lib/:repo_id(/*path)': 'showOrgRepoDir',
'common/lib/:repo_id(/*path)': 'showCommonDir',
'starred/': 'showStarredFile',
'activities/': 'showEvent',
'activities/': 'showActivities',
// Default
'*actions': 'showRepos'
},
@@ -91,9 +91,9 @@ define([
this.myHomeView.showStarredFile();
},
showEvent: function() {
showActivities: function() {
this.switchCurrentView(this.myHomeView);
this.myHomeView.showActivity();
this.myHomeView.showActivities();
},
showMyRepoDir: function(repo_id, path) {