1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

Modify recommend message

This commit is contained in:
xiez
2012-08-13 21:43:34 +08:00
parent 647713de1b
commit 76c9398522
4 changed files with 24 additions and 6 deletions

View File

@@ -562,9 +562,7 @@ def group_recommend(request):
attach_type=attach_type, path=path)
ma.save()
group_url = reverse('group_info', args=[group.id])
msg = u'推荐到 <a href="%s" target="_blank">%s</a> 成功。' %\
(group_url, group_name)
msg = u'推荐成功。'
messages.add_message(request, messages.INFO, msg)
break
if not find: