Commit 451b4cba authored by Giorgos Korfiatis's avatar Giorgos Korfiatis Committed by Georgios D. Tsoukalas
Browse files

Change message for member removal

parent 9f717bb7
......@@ -186,6 +186,7 @@ UNKNOWN_PROJECT_ID = 'There is no project identified by %
UNKNOWN_IDENTIFIER = 'Unknown identifier.'
PENDING_MEMBERSHIP_LEAVE = 'Your request is pending moderation by the Project owner.'
USER_MEMBERSHIP_ACCEPTED = '%(realname)s has been accepted in the project.'
USER_MEMBERSHIP_REMOVED = '%(realname)s has been removed from the project.'
USER_LEFT_PROJECT = 'You have left the project.'
USER_LEAVE_REQUEST_SUBMITTED = 'Your request to leave the project has been submitted successfully.'
USER_JOIN_REQUEST_SUBMITTED = 'Your request to join the project has been submitted successfully.'
......
......@@ -1459,7 +1459,7 @@ def project_remove_member(request, chain_id, user_id, ctx=None):
ctx.mark_rollback()
else:
realname = escape(m.person.realname)
msg = _(astakos_messages.USER_LEFT_PROJECT) % locals()
msg = _(astakos_messages.USER_MEMBERSHIP_REMOVED) % locals()
messages.success(request, msg)
return redirect(reverse('project_detail', args=(chain_id,)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment