Sha256: d52acb9b9c2bd26ba9d537d209b04f6ab880ebbae78f9b9408d2818a2fe3c4b0
Contents?: true
Size: 904 Bytes
Versions: 4
Compression:
Stored size: 904 Bytes
Contents
-# View to show outstanding conference invitations of the signed in user. -# origin: M #invitations - invitations = current_user.received_invitations.include_everything - if invitations.any? - for invitation in current_user.received_invitations .blob.invitation .description Invitation to = link_to(invitation.conference.name, invitation.conference) .sender from = link_to(current_user.name_for(invitation.sender), invitation.sender) - buttons do = link_to(icon(:accept_invitation, 'Accept'), accept_invitation_path(invitation), :title => "This will sign you up for #{invitation.conference.name}", :method => :put) = link_to(icon(:dismiss_invitation, 'Dismiss'), dismiss_invitation_path(invitation), :method => :delete) - else .none You have no outstanding conference invitations.
Version data entries
4 entries across 4 versions & 1 rubygems