However, you are already a member of this #{@member.source.is_a?(Group)?"group":"project"}.
Sign in using a different account to accept the invitation.
-else
-if@member.invite_email!=current_user.email
%p
Note that this invitation was sent to #{mail_to@member.invite_email}, but you are signed in as #{link_tocurrent_user.to_reference,user_url(current_user)} with email #{mail_tocurrent_user.email}.