% if ma.class == AppliedMessage %>
<% if ma.applied_type == "ApplyAddSchools" %>
-
<% if ma.status == 0 %>
<% applied_user = User.find(ma.applied_user_id) %>
<%= link_to image_tag(url_to_avatar(applied_user), :width => "30", :height => "30"), user_path(applied_user), :target => '_blank' %>
<% else %>
<%= image_tag("/images/trustie_logo1.png", width: "30px", height: "30px", class: "mt3") %>
<% end %>
-
<%= render :partial => "users/user_message_applied_schools", :locals =>{:ma => ma} %>
-
<%= render :partial => "users/user_message_applied_school_action", :locals =>{:ma => ma} %>
- <%= time_tag(ma.created_at).html_safe %>
<% elsif ma && ma.applied_type == "AppliedProject" %>
<% applied_user = User.find(ma.applied_user_id) %>
-
<%= link_to image_tag(url_to_avatar(applied_user), :width => "30", :height => "30"), user_path(applied_user), :target => '_blank' %>
-
<%=link_to applied_user.show_name, user_path(applied_user), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
">申诉匿评成绩:
-
<% homework = ma.applied.student_works_score.student_work.homework_common %>
<%= link_to homework.name, student_work_index_path(:homework => homework.id, :show_work_id => ma.applied.student_works_score.student_work_id, :tab => 2), :class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}", :target => '_blank' %>
- <%= time_tag(ma.created_at).html_safe %>
<% end %>
<% end %>