<% content_for :before_content do %> <% title = "Users" %> <% content_for :title, title %> <%= govuk_back_link href: merge_request_path(@merge_request) %> <% end %>

<%= @merge_request.absorbing_organisation_name %> Users

<% unless @merge_request.status == "request_merged" || @merge_request.status == "processing" %>

<%= total_users_after_merge_text(@merge_request) %>

<%= merging_organisations_without_users_text(@merge_request.organisations_without_users) %>

<% @merge_request.organisations_with_users.map do |org| %>

<%= link_to_merging_organisation_users(org) %>

<% end %> <% end %>