group_projects_list_-_link_to_project_RM_V1.2.1.diff

Jérôme BATAILLE, 2013-01-14 16:02

Download (821 Bytes)

View differences:

app/views/groups/_memberships.html.erb (copie de travail)
13 13
	<% @group.memberships.each do |membership| %>
14 14
	<% next if membership.new_record? %>
15 15
	<tr id="member-<%= membership.id %>" class="<%= cycle 'odd', 'even' %> class">
16
	<td class="project"><%=h membership.project %></td>
16
	<td class="project"><%= link_to( h(membership.project), membership.project) %></td>
17 17
  <td class="roles">
18 18
    <span id="member-<%= membership.id %>-roles"><%=h membership.roles.sort.collect(&:to_s).join(', ') %></span>
19 19
    <% remote_form_for(:membership, :url => { :action => 'edit_membership', :id => @group, :membership_id => membership },