2016-07-29 14:49:37 +08:00
|
|
|
|
<% if allow_to_show(ma) %>
|
2016-07-29 21:04:01 +08:00
|
|
|
|
:<%= link_to "同意", allow_to_join_project_project_memberships_path(:project_id => ma.project_id, :applied_message_id => ma.id), :remote => true, :method => :post, :class => "link-blue"%> |
|
|
|
|
|
<%= link_to "拒绝", refused_allow_to_join_project_project_memberships_path(:project_id => ma.project_id, :applied_message_id => ma.id), :remote => true, :method => :get, :class => "link-blue" %>
|
2016-07-29 14:49:37 +08:00
|
|
|
|
<% elsif ma.status == 4 %>
|
2016-07-29 19:30:53 +08:00
|
|
|
|
<span class="fontGrey3">被拒绝</span>
|
2016-07-29 14:49:37 +08:00
|
|
|
|
<% elsif ma.status == 5 %>
|
2016-07-29 19:30:53 +08:00
|
|
|
|
<span class="fontGrey3">您已拒绝</span>
|
2016-07-29 14:49:37 +08:00
|
|
|
|
<% elsif ma.status == 6 %>
|
2016-07-29 19:30:53 +08:00
|
|
|
|
<span class="fontGrey3">已通过</span>
|
2016-07-29 14:49:37 +08:00
|
|
|
|
<% elsif ma.status == 7 %>
|
2016-07-29 19:30:53 +08:00
|
|
|
|
<span class="fontGrey3">您已同意</span>
|
2016-07-29 14:49:37 +08:00
|
|
|
|
<% end %>
|