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

Modify recommend message and fix profile cache bug

This commit is contained in:
xiez
2012-08-14 13:27:27 +08:00
parent c42381dc4c
commit 5219347ef8
4 changed files with 8 additions and 2 deletions

View File

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