socialforge/app/views/users/_user_message_applide_actio...

12 lines
571 B
Plaintext
Raw Normal View History

2016-07-29 14:49:37 +08:00
<% if allow_to_show(ma) %>
<%= link_to "同意", allow_to_join_project_project_memberships_path(:project_id => ma.applied.project, :applied_message_id => ma.id), :remote => true, :method => :post %> |
<%= link_to "拒绝", refused_allow_to_join_project_project_memberships_path(:project_id => ma.applied.project, :applied_message_id => ma.id), :remote => true, :method => :get %>
<% elsif ma.status == 4 %>
被拒绝
<% elsif ma.status == 5 %>
您已拒绝
<% elsif ma.status == 6 %>
已通过
<% elsif ma.status == 7 %>
您已同意
<% end %>