• <% if ma.status == 4 || ma.status == 6 %> <%= link_to image_tag(url_to_avatar(User.where(:id => ma.user_id).first), :width => "30", :height => "30"), user_path(User.where(:id => ma.user_id).first), :target => '_blank' %> <% else %> <%= link_to image_tag(url_to_avatar(applied_project_users(ma)), :width => "30", :height => "30"), user_path(applied_project_users(ma)), :target => '_blank' %> <% end %>
  • <%= render :partial => "users/user_message_applide_users", :locals =>{:ma => ma} %>
  • <% project = Project.find(ma.project_id) %> <%= link_to project.name, project_path(ma.project_id), :class => "link-blue", :target => '_blank', :title => "#{project.name}" %>
  • <%= render :partial => "users/user_message_applide_action", :locals =>{:ma => ma} %>
  • <%= time_tag(ma.created_at).html_safe %>