Project

General

Profile

Feature #24720 » rm24720-move_new_member_link_to_below_table-trunk_r16111.patch

Mischa The Evil, 2016-12-31 07:27

View differences:

app/views/projects/settings/_members.html.erb (working copy)
1 1
<% roles = Role.find_all_givable
2 2
   members = @project.memberships.active.sorted.to_a %>
3 3

  
4
<p><%= link_to l(:label_member_new), new_project_membership_path(@project), :remote => true, :class => "icon icon-add" %></p>
5

  
6 4
<% if members.any? %>
7 5
<table class="list members">
8 6
  <thead>
......
60 58
<% else %>
61 59
<p class="nodata"><%= l(:label_no_data) %></p>
62 60
<% end %>
61

  
62
<p><%= link_to l(:label_member_new), new_project_membership_path(@project), :remote => true, :class => "icon icon-add" %></p>
(1-1/6)