This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/invitations/_invitations.rhtml

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 -%>