12 lines
730 B
Plaintext
12 lines
730 B
Plaintext
<% if allow_to_show(ma) %>
|
||
:<%= 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" %>
|
||
<% elsif ma.status == 4 %>
|
||
<span class="fontGrey3">被拒绝</span>
|
||
<% elsif ma.status == 5 %>
|
||
<span class="fontGrey3">您已拒绝</span>
|
||
<% elsif ma.status == 6 %>
|
||
<span class="fontGrey3">已通过</span>
|
||
<% elsif ma.status == 7 %>
|
||
<span class="fontGrey3">您已同意</span>
|
||
<% end %> |