socialforge/app/views/users/_user_message_applide_users...

8 lines
518 B
Plaintext

<% if ma.status == 4 || ma.status == 6 %>
<%= link_to User.where(:id => ma.user_id).first.show_name, user_path(User.where(:id => ma.user_id).first), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
<% else %>
<%= link_to applied_project_users(ma).show_name, user_path(applied_project_users(ma)), :class => "newsBlue homepageNewsPublisher", :target => '_blank' %>
<% end %>
<span class="homepageNewsType fl">
申请以“<%= applied_project_message_type(ma.role) %>”身份加入:
</span>