Not sure why that flash was commented out...
This commit is contained in:
parent
aeeb3c638d
commit
d4b8fb66da
1 changed files with 2 additions and 2 deletions
|
@ -281,8 +281,8 @@ class Group(controllers.Controller):
|
||||||
group = Groups.by_name(groupname)
|
group = Groups.by_name(groupname)
|
||||||
|
|
||||||
if not canApplyGroup(person, group, target):
|
if not canApplyGroup(person, group, target):
|
||||||
# turbogears.flash(_('%(user)s could not apply to %(group)s.') % \
|
turbogears.flash(_('%(user)s can not apply to %(group)s.') % \
|
||||||
# {'user': target.username, 'group': group.name })
|
{'user': target.username, 'group': group.name })
|
||||||
turbogears.redirect('/group/view/%s' % group.name)
|
turbogears.redirect('/group/view/%s' % group.name)
|
||||||
return dict()
|
return dict()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue