the handle is now in the email if only one user invited the person
This commit is contained in:
parent
fe1a6bce20
commit
e677e4782e
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@
|
||||||
%p
|
%p
|
||||||
Hello #{@resource.email}!
|
Hello #{@resource.email}!
|
||||||
%p
|
%p
|
||||||
#{(@resource.inviters.count == 1)? ( @resource.inviters.first.real_name + " has") : (@resource.inviters.map{|inv| inv.real_name + " (#{inv.diaspora_handle})"}.join(",") + " have")} invited you to join Diaspora at #{root_url}, you can accept it through the link below.
|
#{(@resource.inviters.count == 1)? ( @resource.inviters.first.real_name + " (#{@resource.inviters.first.diaspora_handle})" + " has") : (@resource.inviters.map{|inv| inv.real_name + " (#{inv.diaspora_handle})"}.join(",") + " have")} invited you to join Diaspora at #{root_url}, you can accept it through the link below.
|
||||||
- @resource.inviters.each do |inv|
|
- @resource.inviters.each do |inv|
|
||||||
- if @resource.invite_messages[inv.id.to_s]
|
- if @resource.invite_messages[inv.id.to_s]
|
||||||
= "#{inv.real_name}:"
|
= "#{inv.real_name}:"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue