]> source.dussan.org Git - redmine.git/commitdiff
Merged r3914 from trunk.
authorEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Aug 2010 04:31:06 +0000 (04:31 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Aug 2010 04:31:06 +0000 (04:31 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3964 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/users/_memberships.rhtml

index 70921f4ab9a07c0a98070a1e6c1a5b78bed7627f..4c71f81ba07aefcdf0b8295c9a106c970b123faf 100644 (file)
@@ -14,7 +14,9 @@
        <% @user.memberships.each do |membership| %>
        <% next if membership.new_record? %>
        <tr id="member-<%= membership.id %>" class="<%= cycle 'odd', 'even' %> class">
-       <td class="project"><%=h membership.project %></td>
+  <td class="project">
+    <%= link_to h(membership.project), {:controller => 'projects', :action => 'show', :id => membership.project} %>
+  </td>
   <td class="roles">
     <span id="member-<%= membership.id %>-roles"><%=h membership.roles.sort.collect(&:to_s).join(', ') %></span>
     <% remote_form_for(:membership, :url => { :action => 'edit_membership', :id => @user, :membership_id => membership },