<% if ma.class == ForgeMessage %> <% if ma.forge_message_type == "AppliedProject" %> <% end %> <% if ma.forge_message_type == "JoinProject" %> <% unless ma.project.nil? %> <% end %> <% end %> <% if ma.forge_message_type == "RemoveFromProject" %> <% unless ma.project.nil? %> <% end %> <% end %> <% if ma.forge_message_type == "ProjectInvite" %> <% inviter = User.find(ma.forge_message_id) %> <% end %> <% if ma.forge_message_type == "Issue" %> <% if ma.status == 1%> <% else %> <% end %> <% end %> <% if ma.forge_message_type == "Journal" && ma.forge_message %> <% end %> <% if ma.forge_message_type == "Message" %> <% end %> <% if ma.forge_message_type == "News" %> <% end %> <% if ma.forge_message_type == "Comment" %> <% end %> <% end %>