fix link on project member overview box

pull/4822/head
Jens Ulferts 8 years ago
parent 6db3d8b5c0
commit 929043708c
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 4
      app/views/projects/_members_box.html.erb

@ -38,8 +38,8 @@ See doc/COPYRIGHT.rdoc for more details.
<%= role %>: <%= users.sort.collect{ |u| link_to_user u }.join(", ").html_safe %><br />
<% end %>
</p>
<% if current_user.admin? %>
<%= link_to new_user_path, class: 'button -alt-highlight' do %>
<% if current_user.allowed_to?(:manage_members, @project) %>
<%= link_to project_members_path(project_id: @project.identifier), class: 'button -alt-highlight' do %>
<i class="button--icon icon-add"></i>
<span class="button--text"><%= l('activerecord.models.member') %></span>
<% end %>

Loading…
Cancel
Save