1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +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

@@ -281,6 +281,11 @@ def myhome(request):
# groups I join
groups = ccnet_rpc.get_groups(email)
for group in groups:
if group.props.creator_name == request.user.username:
group.my_create = True
else:
group.my_create = False
return render_to_response('myhome.html', {
"owned_repos": owned_repos,