Add link to the project in group membership tab

pull/8495/head
Oliver Günther 4 years ago
parent 7e17011af3
commit ab0cd0018c
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      app/views/groups/_memberships.html.erb
  2. 2
      db/migrate/20200708065116_fix_members_inconsistencies.rb

@ -67,7 +67,7 @@ See docs/COPYRIGHT.rdoc for more details.
<% @group.memberships.each do |membership| %>
<% next if membership.new_record? %>
<tr id="member-<%= membership.id %>" class="class">
<td class="project"><%=h membership.project %></td>
<td class="project"><%= link_to membership.project.name, project_members_path(membership.project) %></td>
<td class="roles">
<span id="member-<%= membership.id %>-roles"><%=h membership.roles.sort.collect(&:to_s).join(', ') %></span>
<%= labelled_tabular_form_for(:membership,

@ -1,4 +1,4 @@
class DefaultTimestampOnMembers < ActiveRecord::Migration[6.0]
class FixMembersInconsistencies < ActiveRecord::Migration[6.0]
def change
change_column_default :members, :created_on, -> { 'CURRENT_TIMESTAMP' }

Loading…
Cancel
Save