<% unless @merge_request.absorbing_organisation_signed_dsa? || @merge_request.absorbing_organisation_id.blank? %> <%= govuk_notification_banner(title_text: "Important") do %>

The absorbing organisation must accept the Data Sharing Agreement before merging.

<% if @merge_request.dpo_user %> Contact the Data Protection Officer: <%= link_to @merge_request.dpo_user.name, user_path(@merge_request.dpo_user.id) %> <% else %> <%= @merge_request.absorbing_organisation_name %> does not have a Data Protection Officer. You can assign one on the <%= link_to "users page", "#{organisation_path(@merge_request.absorbing_organisation_id)}/users" %>. <% end %> <% end %> <% end %> <% if @merge_request.last_failed_attempt.present? %> <%= govuk_notification_banner(title_text: "Important") do %>

An error occurred while processing the merge.

No changes have been made. Try beginning the merge again. <% end %> <% end %>