5898_git.diff

Jean-Baptiste Barth, 2010-07-18 16:09

Download (845 Bytes)

View differences:

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 },