Include first/last name in invitation emails
This commit is contained in:
parent
6ecf784d91
commit
c2e0feb38b
2 changed files with 9 additions and 2 deletions
|
|
@ -1 +1,8 @@
|
|||
<%= t('.message', :invite_url => invite_code_url(@invitation_code), :diasporafoundation_url => 'https://diasporafoundation.org/', :diaspora_id => @inviter.try(:diaspora_handle)) %>
|
||||
<%= t('.message',
|
||||
invite_url: invite_code_url(@invitation_code),
|
||||
diasporafoundation_url: 'https://diasporafoundation.org/',
|
||||
user: @inviter.try(:diaspora_handle) == @inviter.try(:name) ?
|
||||
@inviter.try(:diaspora_handle) :
|
||||
@inviter.try(:name) + " (" + @inviter.try(:diaspora_handle) + ")",
|
||||
diaspora_id: @inviter.try(:diaspora_handle))
|
||||
%>
|
||||
|
|
|
|||
|
|
@ -807,7 +807,7 @@ en:
|
|||
message: |-
|
||||
Hello!
|
||||
|
||||
You have been invited to join diaspora* by %{diaspora_id}!
|
||||
You have been invited to join diaspora* by %{user}!
|
||||
|
||||
Click this link to get started
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue