15 lines
955 B
Plaintext
15 lines
955 B
Plaintext
<% ma = ma.nil? ? @applied_message : ma %>
|
|
<% 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", :style => "font-size: 14px;" %> |
|
|
<%= 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",:style => "font-size: 14px;" %>
|
|
<% elsif ma.status == 4 %>
|
|
<span class="fontGrey3" style="font-size:14px">被拒绝</span>
|
|
<% elsif ma.status == 5 %>
|
|
<span class="fontGrey3" style="font-size:14px">您已拒绝</span>
|
|
<% elsif ma.status == 6 %>
|
|
<span class="fontGrey3" style="font-size:14px">已通过</span>
|
|
<% elsif ma.status == 7 %>
|
|
<span class="fontGrey3" style="font-size:14px">您已同意</span>
|
|
<% end %> |