diff --git a/app/views/organisation_relationships/add_housing_provider.html.erb b/app/views/organisation_relationships/add_housing_provider.html.erb index 638d0e00f..3cce90db1 100644 --- a/app/views/organisation_relationships/add_housing_provider.html.erb +++ b/app/views/organisation_relationships/add_housing_provider.html.erb @@ -3,8 +3,6 @@ <%= render partial: "organisations/headings", locals: { main: @organisation.name, sub: nil } %> <%= render SubNavigationComponent.new(items: secondary_items(request.path, @organisation.id)) %>
Start typing to search for a housing provider
diff --git a/app/views/organisation_relationships/add_managing_agent.html.erb b/app/views/organisation_relationships/add_managing_agent.html.erb index 9cee8d753..bf5c380d5 100644 --- a/app/views/organisation_relationships/add_managing_agent.html.erb +++ b/app/views/organisation_relationships/add_managing_agent.html.erb @@ -3,8 +3,6 @@ <%= render partial: "organisations/headings", locals: { main: @organisation.name, sub: nil } %> <%= render SubNavigationComponent.new(items: secondary_items(request.path, @organisation.id)) %>Start typing to search for a managing agent
diff --git a/app/views/organisation_relationships/managing_agents.html.erb b/app/views/organisation_relationships/managing_agents.html.erb index 6411a0283..95fa18ca9 100644 --- a/app/views/organisation_relationships/managing_agents.html.erb +++ b/app/views/organisation_relationships/managing_agents.html.erb @@ -7,7 +7,7 @@ success: true, title_heading_level: 3, title_id: "swanky-notifications" ) do |notification_banner| - notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of your managing agents") + notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of this organisation's managing agents") end %> <% end %> <% end %> @@ -24,18 +24,18 @@ success: true, title_heading_level: 3, title_id: "swanky-notifications" ) do |notification_banner| - notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of your managing agents") + notification_banner.heading(text: "#{Organisation.find(params["related_organisation_id"]).name} is now one of this organisation's managing agents") end %> <% end %> -A managing agent can submit logs for your organisation.
+A managing agent can submit logs for this organisation.
<% if @total_count == 0 %> -You do not currently have any managing agents.
+This organisation does not currently have any managing agents.
<% end %> <% else %> - <%= render partial: "organisations/headings", locals: { main: "Your managing agents", sub: current_user.organisation.name } %> -A managing agent can submit logs for your organisation.
+ <%= render partial: "organisations/headings", locals: { main: "This organisation managing agents", sub: current_user.organisation.name } %> +A managing agent can submit logs for this organisation.
<% if @total_count == 0 %> -You do not currently have any managing agents.
+This organisation does not currently have any managing agents.
<% end %> <% end %> <% if current_user.support? %>