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:
5
views.py
5
views.py
@@ -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,
|
||||
|
Reference in New Issue
Block a user