邀请界面添加权限控制

This commit is contained in:
huang 2015-04-22 13:46:35 +08:00
parent eeaa613c9e
commit bce1006969
1 changed files with 3 additions and 1 deletions

View File

@ -161,7 +161,9 @@
<div class="subNav currentDd currentDt subNav_jiantou" id="expand_tools_expand_invit" onclick="expand_tools_expand('invit');"><%= l(:label_invite)%></div>
<ul class="navContent " style="display:block">
<li><%= link_to l(:label_invite_new_user), :controller=>"projects", :action=>"invite_members_by_mail", :id => @project %></li>
<li><%= link_to l(:label_invite_trustie_user), :controller=>"projects", :action=>"invite_members", :id => @project %></li>
<% if User.current.allowed_to?(:manage_members, @project) %>
<li><%= link_to l(:label_invite_trustie_user), :controller=>"projects", :action=>"invite_members", :id => @project %></li>
<% end %>
</ul>
<% end %><!--end-->
<!--menu 左侧工具栏 -->