去掉配置页面的成员申请
This commit is contained in:
parent
450217e7c2
commit
769a07bd94
|
@ -92,32 +92,6 @@
|
||||||
<% if roles.any? %>
|
<% if roles.any? %>
|
||||||
<div class="members_right">
|
<div class="members_right">
|
||||||
<!-- applied -->
|
<!-- applied -->
|
||||||
<% if @project.applied_projects.any? %>
|
|
||||||
<div class="members_jion">
|
|
||||||
<p class="c_blue mb10 fb"><%= l(:label_apply_project) %></p>
|
|
||||||
<%= form_for(@applied_members, {:as => :membership, :url => project_memberships_path(@project), :remote => true, :method => :post}) do |f| %>
|
|
||||||
<div id="principals_for_applied_member">
|
|
||||||
<%= render_principals_for_applied_members_new(@project) %>
|
|
||||||
</div>
|
|
||||||
<ul class="mb10">
|
|
||||||
<li><%= l(:label_role_plural) %>:</li>
|
|
||||||
<% roles.each do |role| %>
|
|
||||||
<li>
|
|
||||||
<%= check_box_tag 'membership[role_ids][]', role.id %>
|
|
||||||
<label ><%= h role %></label >
|
|
||||||
</li>
|
|
||||||
<% end %>
|
|
||||||
</ul>
|
|
||||||
<a remote="true" href="javascript:void(0)" class="blue_btn fl" onclick="$('#new_membership').submit();">
|
|
||||||
<%= l(:label_approve) %>
|
|
||||||
</a>
|
|
||||||
<a remote="true" href="javascript:void(0)" class="grey_btn fl ml10" onclick="refusal_applied_member();">
|
|
||||||
<%= l(:label_refusal) %>
|
|
||||||
</a>
|
|
||||||
<% end %>
|
|
||||||
<div class="cl"></div>
|
|
||||||
</div>
|
|
||||||
<% end %><!--members_jion end-->
|
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<!-- add members -->
|
<!-- add members -->
|
||||||
<p class="c_blue fb mt10 mb5"><%= l(:label_member_new) %></p>
|
<p class="c_blue fb mt10 mb5"><%= l(:label_member_new) %></p>
|
||||||
|
|
Loading…
Reference in New Issue