Patch #5898 ยป 5898_git.diff
app/views/users/_memberships.rhtml | ||
---|---|---|
14 | 14 |
<% @user.memberships.each do |membership| %> |
15 | 15 |
<% next if membership.new_record? %> |
16 | 16 |
<tr id="member-<%= membership.id %>" class="<%= cycle 'odd', 'even' %> class"> |
17 |
<td class="project"><%=h membership.project %></td> |
|
17 |
<td class="project"> |
|
18 |
<%= link_to h(membership.project), {:controller => 'projects', :action => 'show', :id => membership.project} %> |
|
19 |
</td> |
|
18 | 20 |
<td class="roles"> |
19 | 21 |
<span id="member-<%= membership.id %>-roles"><%=h membership.roles.sort.collect(&:to_s).join(', ') %></span> |
20 | 22 |
<% remote_form_for(:membership, :url => { :action => 'edit_membership', :id => @user, :membership_id => membership }, |