3 lines
419 B
Plaintext
3 lines
419 B
Plaintext
<% if @people.id == session[:people_id] -%>You have<% else -%><%= @people.title -%> has<% end -%> <strong><%= pluralize(@people.invitations.size, 'Invitations') rescue '0 Invitations' -%></strong>.
|
|
<% if @people and !@people.invitations.empty? and @people.id == session[:people_id] -%><br /><%= link_to_function "#{image_tag('mail-forward.png')} Send Invitation", "lightboxes['invitation_dialog'].open()" -%><% end -%>
|