diaspora/app/views/devise/mailer/_inviters.haml
2010-11-30 13:01:53 -08:00

11 lines
396 B
Text

%p
- if @invs.count == 1
= t('.has_invited_you', :name => @invs.first.from.name + " (#{@invs.first.from.diaspora_handle})")
- else
= t('.have_invited_you', :names => (@invs.map{|inv| inv.from.name + " (#{inv.from.diaspora_handle})"}.join(",")))
= t('.accept_at', :url => root_url)
- @invs.each do |inv|
- if inv.message
= "#{inv.from.name}:"
= "\"#{inv.message}\""
%p