1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

Show groups on myhome.html

This commit is contained in:
xiez
2012-05-15 11:23:28 +08:00
parent d63b068b2d
commit 1de93aa036
3 changed files with 23 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ def group_info(request, group_id):
if not repo_id:
continue
repo = get_repo(repo_id)
if not repo:
continue
repo.share_from = seafserv_threaded_rpc.get_group_repo_share_from(repo_id)
if request.user.username == repo.share_from:
repo.share_from_me = True