diff --git a/group/views.py b/group/views.py index c1cb4165b1..c4f85c0c21 100644 --- a/group/views.py +++ b/group/views.py @@ -631,7 +631,7 @@ def group_unshare_repo(request, repo_id, group_id, from_email): return render_error(request, u'取消共享失败:小组不存在') # Check whether user belongs to the group. - joined = is_group_user(group_id_int, request.user.username) + joined = is_group_user(group_id, request.user.username) if not joined: return render_error(request, u'取消共享失败:未加入该小组') diff --git a/organizations/templates/organizations/org_groups.html b/organizations/templates/organizations/org_groups.html index 555a36e1c3..4600573c99 100644 --- a/organizations/templates/organizations/org_groups.html +++ b/organizations/templates/organizations/org_groups.html @@ -13,30 +13,7 @@ {% block right_panel %}
创建者:{{ group.props.creator_name }}
-创建时间:{{ group.props.timestamp|tsstr_sec }}
-暂无
-{% endif %} - - -{% include "snippets/group_add_form.html" %} - +{% include "group/groups_right_panel.html" %} {% endblock %} {% block extra_script %}