|
|
@ -1,13 +1,13 @@
|
|
|
|
<% if ma.class == AppliedMessage %>
|
|
|
|
<% if ma.class == AppliedMessage %>
|
|
|
|
<!--申请加入项目-->
|
|
|
|
<!--申请加入项目-->
|
|
|
|
<% if ma.applied_type == "ApplyAddSchools" %>
|
|
|
|
<% if ma.applied_type == "ApplyAddSchools" %>
|
|
|
|
<% if ma.status == 1 || ma.status == 2 || ma.status == 3 || ma.status == 4 %>
|
|
|
|
<% if ma.status == 1 || ma.status == 2 || ma.status == 3 || ma.status == 0 %>
|
|
|
|
<ul class="homepageNewsList fl">
|
|
|
|
<ul class="homepageNewsList fl">
|
|
|
|
<li class="homepageNewsPortrait fl">
|
|
|
|
<li class="homepageNewsPortrait fl">
|
|
|
|
<a href="javascript:void(0);">
|
|
|
|
<a href="javascript:void(0);">
|
|
|
|
<% if ma.status == 1 || ma.status == 2 || ma.status == 3 %>
|
|
|
|
<% if ma.status == 1 || ma.status == 2 || ma.status == 3 %>
|
|
|
|
<%= image_tag("/images/trustie_logo1.png", width: "30px", height: "30px", class: "mt3") %>
|
|
|
|
<%= image_tag("/images/trustie_logo1.png", width: "30px", height: "30px", class: "mt3") %>
|
|
|
|
<% elsif ma.status == 4 %>
|
|
|
|
<% elsif ma.status == 0 %>
|
|
|
|
<%= link_to image_tag(url_to_avatar(ma.user), :width => "30", :height => "30"), user_path(ma.user), :target => '_blank' %>
|
|
|
|
<%= link_to image_tag(url_to_avatar(ma.user), :width => "30", :height => "30"), user_path(ma.user), :target => '_blank' %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
@ -34,7 +34,7 @@
|
|
|
|
<%= link_to "“"+ma.name+"”" + "的申请,因名称不合法,已被拒绝,请重新编辑您的基本资料", { :controller=> "my",:action => "account" }, :title => "“#{ma.name}”的申请,因名称不合法,已被拒绝,请重新编辑您的基本资料", :target => '_blank'%>
|
|
|
|
<%= link_to "“"+ma.name+"”" + "的申请,因名称不合法,已被拒绝,请重新编辑您的基本资料", { :controller=> "my",:action => "account" }, :title => "“#{ma.name}”的申请,因名称不合法,已被拒绝,请重新编辑您的基本资料", :target => '_blank'%>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="homepageNewsTime fl"><%= time_tag(ma.created_at).html_safe %> </li>
|
|
|
|
<li class="homepageNewsTime fl"><%= time_tag(ma.created_at).html_safe %> </li>
|
|
|
|
<% elsif ma.status == 4 %>
|
|
|
|
<% elsif ma.status == 0 %>
|
|
|
|
<%=link_to User.where("id=?", ma.applied_user_id).first.show_name, user_path(ma.user), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
|
|
|
|
<%=link_to User.where("id=?", ma.applied_user_id).first.show_name, user_path(ma.user), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
|
|
|
|
<span class="<%= ma.viewed == 0 ? "homepageNewsTypeNotRead fl" : "homepageNewsType fl" %>"> 申请了单位:</span>
|
|
|
|
<span class="<%= ma.viewed == 0 ? "homepageNewsTypeNotRead fl" : "homepageNewsType fl" %>"> 申请了单位:</span>
|
|
|
|
<li class="homepageNewsContent fl">
|
|
|
|
<li class="homepageNewsContent fl">
|
|
|
|