项目配置-成员角色编辑不可用
This commit is contained in:
parent
18b86adcbb
commit
37c80900c0
|
@ -69,9 +69,9 @@
|
|||
<% i = 0 %>
|
||||
<% members.each do |member| %>
|
||||
<tr>
|
||||
<th><%= i += 1 %></th>
|
||||
<th><%= link_to member.principal.show_name, user_path(member.principal), :target => "_blank" %></th>
|
||||
<th>
|
||||
<td class="text_c"><%= i += 1 %></td>
|
||||
<td class="text_c"><%= link_to member.principal.show_name, user_path(member.principal), :target => "_blank" %></td>
|
||||
<td class="text_c">
|
||||
|
||||
<% if User.current.language == "zh" %>
|
||||
<% zh_roles = [] %>
|
||||
|
@ -98,8 +98,8 @@
|
|||
{ :onblur => "remote_function('#members-#{member.id}-roles-form');", :id =>"membership[role_ids][]", :name => "membership[role_ids][]", :style => "border:1px solid #e5e5e5;"}) %>
|
||||
|
||||
<% end %>
|
||||
</th>
|
||||
<th>
|
||||
</td>
|
||||
<td class="text_c">
|
||||
<% unless member.user_id == @project.user_id %>
|
||||
<a href="javascript:void(0);" class=" sy_btn_blue mr5 " onclick="$('#members-<%= member.id%>-roles-form').show();$('#members_<%= member.id %>_role_show').hide();">编辑</a>
|
||||
<%#= delete_link membership_path(member),
|
||||
|
@ -110,7 +110,7 @@
|
|||
<%= link_to "删除", delete_member_pop_project_path(@project, :member => member), :remote => true, :class => "sy_btn_grey mr5"%>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</th>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue