1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

improved grp msg

This commit is contained in:
llj
2012-06-27 11:57:50 +08:00
parent 544cc7fb00
commit dd3b28c70a
2 changed files with 11 additions and 9 deletions

View File

@@ -167,7 +167,6 @@ def render_group_info(request, group_id, form):
msg.reply_list = MessageReply.objects.filter(reply_to=msg)
msg.reply_cnt = len(msg.reply_list)
msg_cnt = GroupMessage.objects.filter(group_id=group_id).count()
return render_to_response("group/group_info.html", {
"managers": managers,
@@ -178,7 +177,6 @@ def render_group_info(request, group_id, form):
"is_staff": is_staff,
"is_join": joined,
"group_msgs": group_msgs,
"msg_cnt": msg_cnt,
"form": form,
'current_page': current_page,
'prev_page': current_page-1,